bcn_init

The Breadcrumb NavXT bcn init function.

Description

bcn_init(); 

Usage

  1. if ( !function_exists( 'bcn_init' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'breadcrumb-navxt/breadcrumb-navxt.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bcn_init(); 
  7.  

Defined (1)

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

/breadcrumb-navxt.php  
  1. function bcn_init() 
  2. global $breadcrumb_navxt; 
  3. //Create an instance of bcn_breadcrumb_trail 
  4. $bcn_breadcrumb_trail = new bcn_breadcrumb_trail(); 
  5. //Let's make an instance of our object that takes care of everything 
  6. $breadcrumb_navxt = new breadcrumb_navxt(apply_filters('bcn_breadcrumb_trail_object', $bcn_breadcrumb_trail));