WP_Customize_Nav_Menus_Panel::render_screen_options() WordPress Method

The WP_Customize_Nav_Menus_Panel::render_screen_options() method displays the screen options for the menus panel. It allows you to choose which options to display on the screen.

WP_Customize_Nav_Menus_Panel::render_screen_options() #

Render screen options for Menus.


Source

File: wp-includes/customize/class-wp-customize-nav-menus-panel.php

	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 ) );
	}


Top ↑

Changelog

Changelog
VersionDescription
4.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.