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 '/inc/includes/class-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).

/inc/includes/class-options-sanitize.php  
  1. function of_recognized_background_repeat() { 
  2.  
  3. $default = array( 
  4. 'no-repeat' => __( 'No Repeat', 'skt-photo-world' ),  
  5. 'repeat-x' => __( 'Repeat Horizontally', 'skt-photo-world' ),  
  6. 'repeat-y' => __( 'Repeat Vertically', 'skt-photo-world' ),  
  7. 'repeat' => __( 'Repeat All', 'skt-photo-world' ),  
  8. ); 
  9. return apply_filters( 'of_recognized_background_repeat', $default );