add_screen_option() – Register and configure an admin screen option
You appear to be a bot. Output may be restricted
Description
Register and configure an admin screen option
Usage
add_screen_option( $option, $args );
Parameters
- $option
- ( string ) required – An option name.
- $args
- ( mixed ) optional – Option-dependent arguments.
Returns
void
Source
File name: wordpress/wp-admin/includes/screen.php
Lines:
1 to 9 of 9
function add_screen_option( $option, $args = array() ) { $current_screen = get_current_screen(); if ( ! $current_screen ) { return; } $current_screen->add_option( $option, $args ); }