screen_options( $screen )

This function has been deprecated. Use WP_Screen::render_per_page_options() instead.

Returns the screen’s per-page options.

Description

See also

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

Changelog

VersionDescription
3.3.0Use WP_Screen::render_per_page_options()
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.