wpseek.com
A WordPress-centric search engine for devs and theme authors



screen_options › WordPress Function

Since2.8.0
Deprecated3.3.0
screen_options ( $screen )
See:
  • WP_Screen::render_per_page_options()
Defined at:
Codex:

Returns the screen's per-page options.



Source

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();
}