addSettingSections( $this->sPageSlug, // the target page slug array( 'tab_slug' => $this->sTabSlug, 'section_id' => $this->sSectionID, 'title' => __( 'Custom HTML Output', 'admin-page-framework-loader' ), 'description' => __( 'You can insert custom HTML output along with the field output.', 'admin-page-framework-loader' ), ) ); // Fields $oFactory->addSettingFields( $this->sSectionID, // the target section ID array( 'field_id' => 'raw_html', 'title' => __( 'Raw HTML', 'admin-page-framework-loader' ), 'type' => 'my_custom_made_up_non_exisitng_field_type', 'before_field' => "

This is a custom output inserted with the before_field argument.

", 'after_field' => "

This is a custom output inserted with the after_field argument.

", 'before_fields' => "

This is a custom output inserted with the before_fields argument.

", 'after_fields' => "

This is a custom output inserted with the after_fields argument.

", 'before_fieldset' => "

This is a custom output inserted with the before_fieldset argument.

", 'after_fieldset' => "

This is a custom output inserted with the after_fieldset argument.

", ), array( 'field_id' => 'custom_field_content', 'title' => __( 'Custom Content', 'admin-page-framework-loader' ), 'type' => 'whatever_of_your_choosing_slug', 'content' => "

This is a custom content output inserted with the content argument.

", 'description' => __( 'The description part is reserved.', 'admin-page-framework-loader' ), ) ); } }