catchresponsive_featured_slider_content_options

Returns an array of content and slider layout options registered for catchresponsive.

Description

catchresponsive_featured_slider_content_options(); 

Usage

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

Defined (1)

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

/inc/catchresponsive-default-options.php  
  1. function catchresponsive_featured_slider_content_options() { 
  2. $featured_slider_content_options = array( 
  3. 'homepage' => array( 
  4. 'value' => 'homepage',  
  5. 'label' => __( 'Homepage / Frontpage', 'catch-responsive' ),  
  6. ),  
  7. 'entire-site' => array( 
  8. 'value' => 'entire-site',  
  9. 'label' => __( 'Entire Site', 'catch-responsive' ),  
  10. ),  
  11. 'disabled' => array( 
  12. 'value' => 'disabled',  
  13. 'label' => __( 'Disabled', 'catch-responsive' ),  
  14. ),  
  15. ); 
  16.  
  17. return apply_filters( 'catchresponsive_featured_slider_content_options', $featured_slider_content_options );