advantage_scheme_options

The Advantage advantage scheme options function.

Description

advantage_scheme_options( (null) $scheme = null ); 

Parameters (1)

0. $scheme — Optional. (null) => null
The scheme.

Usage

  1. if ( !function_exists( 'advantage_scheme_options' ) ) { 
  2. require_once '/scheme/scheme.php'; 
  3.  
  4. // The scheme. 
  5. $scheme = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = advantage_scheme_options($scheme); 
  9.  

Defined (1)

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

/scheme/scheme.php  
  1. function advantage_scheme_options( $scheme = NULL ) { 
  2. $theme_uri = get_template_directory_uri(); 
  3. $scheme = array( 
  4. '0' => array( 'key' => '0',  
  5. 'label' => __('Default', 'advantage'),  
  6. 'css' => '',  
  7. 'demoimg' => '',  
  8. 'options' => array(),  
  9. ),  
  10. ); 
  11. return apply_filters( 'advantage_colorscheme_array', $scheme );