screen_layout()
Deprecated since 3.3.0 WP_Screen::render_screen_layout(). It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.
Returns the screen layout options.
No Hooks.
Returns
null. Nothing (null).
Usage
screen_layout( $screen );
- $screen(required)
- .
Notes
Changelog
| Since 2.8.0 | Introduced. |
| Deprecated since 3.3.0 | WP_Screen::render_screen_layout() |
screen_layout() screen layout code WP 7.0
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();
}