screen_layout( $screen )

In this article

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

Returns the screen layout options.

Description

See also

Source

function screen_layout( $screen ) {
	_deprecated_function( __FUNCTION__, '3.3.0', '$current_screen->render_screen_layout()' );

	$current_screen = get_current_screen();

	if ( ! $current_screen )
		return '';

	ob_start();
	$current_screen->render_screen_layout();
	return ob_get_clean();
}

Changelog

VersionDescription
3.3.0WP_Screen::render_screen_layout()
2.8.0Introduced.

User Contributed Notes

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