GC_Customize_Nav_Menus_Panel::render_screen_options()
最后更新于:2021-11-27 04:51:25
GC_Customize_Nav_Menus_Panel::render_screen_options()Render screen options for Menus.
源文件
文件: gc-includes/customize/class-gc-customize-nav-menus-panel.php
public function render_screen_options() {
// Adds the screen options.
require_once ABSPATH . 'gc-admin/includes/nav-menu.php';
add_filter( 'manage_nav-menus_columns', 'gc_nav_menu_manage_columns' );
// Display screen options.
$screen = GC_Screen::get( 'nav-menus.php' );
$screen->render_screen_options( array( 'wrap' => false ) );
}