screen_options

Advertisement

Deprecated Deprecated

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

Summery Summery

Returns the screen’s per-page options.

Syntax Syntax

screen_options( $screen )

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

Advertisement

Changelog Changelog

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

See also See also

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.