evolve_widget_text

The evolve evolve widget text function.

Description

evolve_widget_text( $args, (int) $number = 1 ); 

Parameters (2)

0. $args
The args.
1. $number — Optional. (int) => 1
The number.

Usage

  1. if ( !function_exists( 'evolve_widget_text' ) ) { 
  2. require_once '/library/functions/widgets.php'; 
  3.  
  4. // The args. 
  5. $args = null; 
  6.  
  7. // The number. 
  8. $number = 1; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = evolve_widget_text($args, $number); 
  12.  

Defined (1)

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

/library/functions/widgets.php  
  1. function evolve_widget_text($args, $number = 1) { 
  2. extract($args); 
  3. $options = get_option('evolve_widget_text'); 
  4. $title = $options[$number]['title']; 
  5. if (empty($title)) { 
  6. $title = '';