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

screen_options( $screen )

Returns the screen’s per-page options.


Description Description

See also See also


Top ↑

Source Source

File: wp-admin/includes/deprecated.php

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


Top ↑

Changelog Changelog

Changelog
Version Description
3.3.0 Use WP_Screen::render_per_page_options()
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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