WordPress at Your Fingertips
function is not described

screen_options() WP 2.8.0

Deprecated from version 3.3.0. It is no longer supported and can be removed in future releases. Use WP_Screen::render_per_page_options() instead.

Returns the screen's per-page options.

No Hooks.

Return

null. Nothing.

Usage

screen_options( $screen );
$screen (required)
-

Notes

Changelog

Since 2.8.0 Introduced.
Deprecated Since 3.3.0 Use WP_Screen::render_per_page_options()

Code of screen_options() WP 5.8.2

function screen_options( $screen ) {
	_deprecated_function( __FUNCTION__, '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();
}