'amg_field_menu_order', 'class' => 'amg_row', 'amg_custom_data' => 'custom', ] ); } function amg_section_edit_menu_order_cb( $args ) { } function amg_field_menu_order_cb( $args ) { global $menu, $submenu; // get the value of the setting we've registered with register_setting() $options = get_option( 'amg_options' ); // output the field ?>