WP_Customize_Nav_Menus_Panel::render_screen_options()
Render screen options for Menus.
Method of the class: WP_Customize_Nav_Menus_Panel{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WP_Customize_Nav_Menus_Panel = new WP_Customize_Nav_Menus_Panel(); $WP_Customize_Nav_Menus_Panel->render_screen_options();
Changelog
Since 4.3.0 | Introduced. |
WP_Customize_Nav_Menus_Panel::render_screen_options() WP Customize Nav Menus Panel::render screen options code WP 6.6.1
public function render_screen_options() { // Adds the screen options. require_once ABSPATH . 'wp-admin/includes/nav-menu.php'; add_filter( 'manage_nav-menus_columns', 'wp_nav_menu_manage_columns' ); // Display screen options. $screen = WP_Screen::get( 'nav-menus.php' ); $screen->render_screen_options( array( 'wrap' => false ) ); }