catchresponsive_enable_featured_header_image_options

Returns an array of feature header enable options.

Description

catchresponsive_enable_featured_header_image_options(); 

Usage

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

Defined (1)

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

/inc/catchresponsive-default-options.php  
  1. function catchresponsive_enable_featured_header_image_options() { 
  2. $enable_featured_header_image_options = array( 
  3. 'homepage' => array( 
  4. 'value' => 'homepage',  
  5. 'label' => __( 'Homepage / Frontpage', 'catch-responsive' ),  
  6. ),  
  7. 'exclude-home' => array( 
  8. 'value' => 'exclude-home',  
  9. 'label' => __( 'Excluding Homepage', 'catch-responsive' ),  
  10. ),  
  11. 'exclude-home-page-post' => array( 
  12. 'value' => 'exclude-home-page-post',  
  13. 'label' => __( 'Excluding Homepage, Page/Post Featured Image', 'catch-responsive' ),  
  14. ),  
  15. 'entire-site' => array( 
  16. 'value' => 'entire-site',  
  17. 'label' => __( 'Entire Site', 'catch-responsive' ),  
  18. ),  
  19. 'entire-site-page-post' => array( 
  20. 'value' => 'entire-site-page-post',  
  21. 'label' => __( 'Entire Site, Page/Post Featured Image', 'catch-responsive' ),  
  22. ),  
  23. 'pages-posts' => array( 
  24. 'value' => 'pages-posts',  
  25. 'label' => __( 'Pages and Posts', 'catch-responsive' ),  
  26. ),  
  27. 'disabled' => array( 
  28. 'value' => 'disabled',  
  29. 'label' => __( 'Disabled', 'catch-responsive' ),  
  30. ),  
  31. ); 
  32.  
  33. return apply_filters( 'catchresponsive_enable_featured_header_image_options', $enable_featured_header_image_options );