catchresponsive_metabox_featured_image_options

Returns an array of metabox featured image options registered for catchresponsive.

Description

catchresponsive_metabox_featured_image_options(); 

Usage

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

Defined (1)

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

/inc/catchresponsive-default-options.php  
  1. function catchresponsive_metabox_featured_image_options() { 
  2. $featured_image_options = array( 
  3. 'default' => array( 
  4. 'id' => 'catchresponsive-featured-image',  
  5. 'value' => 'default',  
  6. 'label' => __( 'Default', 'catch-responsive' ),  
  7. ),  
  8. 'featured' => array( 
  9. 'id' => 'catchresponsive-featured-image',  
  10. 'value' => 'featured',  
  11. 'label' => __( 'Featured Image', 'catch-responsive' ) 
  12. ),  
  13. 'full-size' => array( 
  14. 'id' => 'catchresponsive-featured-image',  
  15. 'value' => 'full-size',  
  16. 'label' => __( 'Full Image', 'catch-responsive' ) 
  17. ),  
  18. 'disable' => array( 
  19. 'id' => 'catchresponsive-featured-image',  
  20. 'value' => 'disable',  
  21. 'label' => __( 'Disable Image', 'catch-responsive' ) 
  22. ); 
  23. return apply_filters( 'featured_image_options', $featured_image_options );