mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Use add_option() method, introduce add_option_context() method for adding specific text above the screen options, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18867 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+2
-2
@@ -17,9 +17,9 @@ $pagenum = $wp_list_table->get_pagenum();
|
||||
$title = __('Users');
|
||||
$parent_file = 'users.php';
|
||||
|
||||
add_screen_option( 'per_page', array('label' => _x( 'Users', 'users per page (screen options)' )) );
|
||||
$current_screen->add_option( 'per_page', array('label' => _x( 'Users', 'users per page (screen options)' )) );
|
||||
|
||||
$current_screen->add_screen_options(
|
||||
$current_screen->add_option_context(
|
||||
'<p>test</p>'
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user