This function has been deprecated. Use WP_Screen::render_per_page_options() instead.
screen_options( $screen )
Returns the screen’s per-page options.
Description
See also
Source
File: wp-admin/includes/deprecated.php
function screen_options( $screen ) {
_deprecated_function( __FUNCTION__, 'WP-3.3.0', '$current_screen->render_per_page_options()' );
$current_screen = get_current_screen();
if ( ! $current_screen )
return '';
ob_start();
$current_screen->render_per_page_options();
return ob_get_clean();
}
Changelog
Version | Description |
---|---|
WP-3.3.0 | Use WP_Screen::render_per_page_options() |
WP-2.8.0 | Introduced. This function has been deprecated. Use WP_Screen::render_per_page_options() instead. |