of_recognized_background_position

Get recognized background positions.

Description

(array) of_recognized_background_position(); 

Returns (array)


Usage

  1. if ( !function_exists( 'of_recognized_background_position' ) ) { 
  2. require_once '/admin/options-framework/options-sanitize.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = of_recognized_background_position(); 
  7.  

Defined (1)

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

/admin/options-framework/options-sanitize.php  
  1. function of_recognized_background_position() { 
  2. $default = array( 
  3. 'top left' => __('Top Left', 'optionsframework'),  
  4. 'top center' => __('Top Center', 'optionsframework'),  
  5. 'top right' => __('Top Right', 'optionsframework'),  
  6. 'center left' => __('Middle Left', 'optionsframework'),  
  7. 'center center' => __('Middle Center', 'optionsframework'),  
  8. 'center right' => __('Middle Right', 'optionsframework'),  
  9. 'bottom left' => __('Bottom Left', 'optionsframework'),  
  10. 'bottom center' => __('Bottom Center', 'optionsframework'),  
  11. 'bottom right' => __('Bottom Right', 'optionsframework') 
  12. ); 
  13. return apply_filters( 'of_recognized_background_position', $default );