of_recognized_background_repeat

Get recognized background repeat settings.

Description

(array) of_recognized_background_repeat(); 

Returns (array)


Usage

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

Defined (1)

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

/admin/options-framework/options-sanitize.php  
  1. function of_recognized_background_repeat() { 
  2. $default = array( 
  3. 'no-repeat' => __('No Repeat', 'optionsframework'),  
  4. 'repeat-x' => __('Repeat Horizontally', 'optionsframework'),  
  5. 'repeat-y' => __('Repeat Vertically', 'optionsframework'),  
  6. 'repeat' => __('Repeat All', 'optionsframework'),  
  7. ); 
  8. return apply_filters( 'of_recognized_background_repeat', $default );