Uses
Uses | Description |
---|---|
wp-admin/includes/screen.php: get_current_screen() | Get the current screen object |
wp-includes/functions.php: _deprecated_function() | Mark a function as deprecated and inform when it has been used. |
This function has been deprecated. Use WP_Screen::render_screen_layout() instead.
Returns the screen layout options.
File: wp-admin/includes/deprecated.php
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(); }
Version | Description |
---|---|
3.3.0 | WP_Screen::render_screen_layout() |
2.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/screen_layout