Creating a heading option with a description: *
$adminPage->createOption( array( * 'name' => __( 'General Settings', 'default' ), * 'type' => 'heading', * 'desc' => __( 'Settings for the general usage of the plugin', 'default' ), * ) );* * @since 1.0 * @type heading * @availability Admin Pages|Meta Boxes|Customizer * @no id,default,livepreview,css,hidden */ class MobileMenuOptionHeading extends MobileMenuOption { /** * Display for options and meta */ public function display() { $headingID = str_replace( ' ', '-', strtolower( $this->settings['name'] ) ); ?>
settings['desc'] ?>