Home Plugin documentation Hooks and functions Filters pip/shortcode/breadcrumb
pip/shortcode/breadcrumb
Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don’t provide support for code customizations or 3rd party development.
This filter allows you to change the function used in shortcode pip_breadcrumb
add_filter( 'pip/shortcode/breadcrumb', function ( $breadcrumb ) {
// Example: Set a custom breadcrumb
$home_url = get_home_url();
$breadcrumb = "<a href='$home_url'>" . __( 'Home' ) . '</a> > <span>' . __( 'My custom breadcrumb' ) . '</span>';
return $breadcrumb;
}, 10, 1 );
Our home port
15 Rue Cavenne, 69007 Lyon
And from everywhere in the world thanks to Hangout and Skype !
Useful links