bcn_display_list

Outputs the breadcrumb trail with each element encapsulated with li tags.

Description

bcn_display_list( (constant) $return = false, (constant) $linked = true, (constant) $reverse = false ); 

Parameters (3)

0. $return — Optional. (constant) => false
Whether to return or echo the trail. (optional)
1. $linked — Optional. (constant) => true
Whether to allow hyperlinks in the trail or not. (optional)
2. $reverse — Optional. (constant) => false
Whether to reverse the output or not. (optional)

Usage

  1. if ( !function_exists( 'bcn_display_list' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'breadcrumb-navxt/breadcrumb-navxt.php'; 
  3.  
  4. // Whether to return or echo the trail. (optional) 
  5. $return = false; 
  6.  
  7. // Whether to allow hyperlinks in the trail or not. (optional) 
  8. $linked = true; 
  9.  
  10. // Whether to reverse the output or not. (optional) 
  11. $reverse = false; 
  12.  
  13. // NOTICE! Understand what this does before running. 
  14. $result = bcn_display_list($return, $linked, $reverse); 
  15.  

Defined (1)

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

/breadcrumb-navxt.php  
  1. function bcn_display_list($return = false, $linked = true, $reverse = false) 
  2. global $breadcrumb_navxt; 
  3. if($breadcrumb_navxt !== null) 
  4. return $breadcrumb_navxt->display_list($return, $linked, $reverse);