catchresponsive_metabox_layouts

Returns an array of metabox layout options registered for catchresponsive.

Description

catchresponsive_metabox_layouts(); 

Usage

  1. if ( !function_exists( 'catchresponsive_metabox_layouts' ) ) { 
  2. require_once '/inc/catchresponsive-default-options.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = catchresponsive_metabox_layouts(); 
  7.  

Defined (1)

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

/inc/catchresponsive-default-options.php  
  1. function catchresponsive_metabox_layouts() { 
  2. $layout_options = array( 
  3. 'default' => array( 
  4. 'id' => 'catchresponsive-layout-option',  
  5. 'value' => 'default',  
  6. 'label' => __( 'Default', 'catch-responsive' ),  
  7. ),  
  8. 'left-sidebar' => array( 
  9. 'id' => 'catchresponsive-layout-option',  
  10. 'value' => 'left-sidebar',  
  11. 'label' => __( 'Primary Sidebar, Content', 'catch-responsive' ),  
  12. ),  
  13. 'right-sidebar' => array( 
  14. 'id' => 'catchresponsive-layout-option',  
  15. 'value' => 'right-sidebar',  
  16. 'label' => __( 'Content, Primary Sidebar', 'catch-responsive' ),  
  17. ),  
  18. 'no-sidebar' => array( 
  19. 'id' => 'catchresponsive-layout-option',  
  20. 'value' => 'no-sidebar',  
  21. 'label' => __( 'No Sidebar ( Content Width )', 'catch-responsive' ),  
  22. ),  
  23. ); 
  24. return apply_filters( 'catchresponsive_layouts', $layout_options );