of_recognized_background_attachment

Get recognized background attachment.

Description

(array) of_recognized_background_attachment(); 

Returns (array)


Usage

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

Defined (1)

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

/admin/includes/class-options-sanitization.php  
  1. function of_recognized_background_attachment() { 
  2. $default = array( 
  3. 'scroll' => __( 'Scroll Normally', 'onetone' ),  
  4. 'fixed' => __( 'Fixed in Place', 'onetone') 
  5. ); 
  6. return apply_filters( 'of_recognized_background_attachment', $default );