/** * Outputs the breadcrumb trail * * @since 3.2.0 * @param (bool) $return Whether to return or echo the trail. * @param (bool) $linked Whether to allow hyperlinks in the trail or not. * @param (bool) $reverse Whether to reverse the output or not. */ function display_list($return = false, $linked = true, $reverse = false) { //Grab the current settings from the db $this->breadcrumb_trail->opt = $this->get_option('bcn_options'); //Generate the breadcrumb trail $this->breadcrumb_trail->fill(); return $this->breadcrumb_trail->display_list($return, $linked, $reverse); }
/** * display_list * * Outputs the breadcrumb trail * * @since 3.2.0 * @param (bool) $return Whether to return or echo the trail. * @param (bool) $linked Whether to allow hyperlinks in the trail or not. * @param (bool) $reverse Whether to reverse the output or not. */ function display_list($return = false, $linked = true, $reverse = false) { //Update our internal settings $this->breadcrumb_trail->opt = $this->get_option('bcn_options'); //Generate the breadcrumb trail $this->breadcrumb_trail->fill(); return $this->breadcrumb_trail->display_list($return, $linked, $reverse); }
/** * Outputs the breadcrumb trail * * @since 3.2.0 * @param (bool) $return Whether to return or echo the trail. * @param (bool) $linked Whether to allow hyperlinks in the trail or not. * @param (bool) $reverse Whether to reverse the output or not. */ function display_list($return = false, $linked = true, $reverse = false) { //First make sure our defaults are safe $this->find_posttypes($this->breadcrumb_trail->opt); $this->find_taxonomies($this->breadcrumb_trail->opt); //Grab the current settings from the db $this->breadcrumb_trail->opt = wp_parse_args($this->get_option('bcn_options'), $this->breadcrumb_trail->opt); //Generate the breadcrumb trail $this->breadcrumb_trail->fill(); return $this->breadcrumb_trail->display_list($return, $linked, $reverse); }