evolve_widget_area

The evolve evolve widget area function.

Description

evolve_widget_area( (constant) $name = false ); 

Parameters (1)

0. $name — Optional. (constant) => false
The name.

Usage

  1. if ( !function_exists( 'evolve_widget_area' ) ) { 
  2. require_once '/library/functions/widgets.php'; 
  3.  
  4. // The name. 
  5. $name = false; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = evolve_widget_area($name); 
  9.  

Defined (1)

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

/library/functions/widgets.php  
  1. function evolve_widget_area($name = false) { 
  2. if (!isset($name)) { 
  3. $widget[] = "widget.php"; 
  4. } else { 
  5. $widget[] = "widget-{$name}.php"; 
  6. locate_template($widget, true);