screen_layout

Returns the screen layout options.

Description

screen_layout( $screen ); 

Parameters (1)

0. $screen
The screen.

Usage

  1. if ( !function_exists( 'screen_layout' ) ) { 
  2. require_once ABSPATH . '/wp-admin/includes/deprecated.php'; 
  3.  
  4. // The screen. 
  5. $screen = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = screen_layout($screen); 
  9.  

Defined (1)

The function is defined in the following location(s).

/wp-admin/includes/deprecated.php  
  1. function screen_layout( $screen ) { 
  2. _deprecated_function( __FUNCTION__, '3.3.0', '$current_screen->render_screen_layout()' ); 
  3.  
  4. $current_screen = get_current_screen(); 
  5.  
  6. if ( ! $current_screen ) 
  7. return ''; 
  8.  
  9. ob_start(); 
  10. $current_screen->render_screen_layout(); 
  11. return ob_get_clean();