function bs_shortcodes_breadcrumb_item in Bootstrap 3 shortcodes 7
bs_shortcodes_breadcrumb_item
@author M. W. Delaney
File
- ./
bs_shortcodes.module, line 835
Code
function bs_shortcodes_breadcrumb_item($attrs, $content = '') {
extract(shortcode_attrs(array(
"link" => '',
"xclass" => '',
"data" => '',
), $attrs));
$class = '';
$class .= $xclass ? ' ' . $xclass : '';
$data_props = _bs_shortcodes_parse_data_attributes($data);
return sprintf('<li><a href="%s" class="%s"%s>%s</a></li>', check_url($link), check_plain($class), $data_props ? ' ' . $data_props : '', $content);
}