Adds a screen option to the current page.
<?php
add_screen_option(
'per_page',
array('label' => _x( 'Comments', 'comments per page (screen options)' )) );
?>
<?php add_action('wp_network_dashboard_setup', function() { add_screen_option('layout_columns', ['default' => 2]); }); ?>
Since: 3.1
add_screen_option()
is located in wp-admin/includes/screen.php
.