WordPress at a glance
function is not described

screen_layout() WP 2.8.0

Deprecated in 3.3.0 WP_Screen::render_screen_layout(). It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Returns the screen layout options.

  • See: WP_Screen::render_screen_layout()

No Hooks.


Nothing (null).


screen_layout( $screen );

Code of screen layout: wp-admin/includes/deprecated.php WP 5.2.2

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

	$current_screen = get_current_screen();

	if ( ! $current_screen )
		return '';

	return ob_get_clean();