Title: hook for breadcrumbs
Last modified: October 1, 2019

---

# hook for breadcrumbs

 *  Resolved [BackuPs](https://wordpress.org/support/users/backups/)
 * (@backups)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/hook-for-breadcrumbs/)
 * Hi
 * Does the plugin have a hook or function and setting like yoast does to supply
   f.e. a $args for the breadcrumbs wrapper and items on calling the breadcrumbs
   function?
 * like this
 *     ```
       	$output = '';
       	$yoast_enabled = false;
       	if ( function_exists('yoast_breadcrumb') ) {
       		$yoast_options = get_option( 'wpseo_internallinks' );
       		if(isset($yoast_options['breadcrumbs-enable'])){
       			$yoast_enabled = $yoast_options['breadcrumbs-enable']; 
       		}
       	}
       if ( function_exists('yoast_breadcrumb') && $yoast_enabled) {
       		$output = yoast_breadcrumb('<section id="breadcrumbs">','</section>',false);
       	} 
       	return $output;
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Author [Benjamin Denis](https://wordpress.org/support/users/rainbowgeek/)
 * (@rainbowgeek)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/hook-for-breadcrumbs/#post-11988917)
 * Hi,
 * please watch this video guide:
 * [https://www.seopress.org/support/guides/enable-breadcrumbs/](https://www.seopress.org/support/guides/enable-breadcrumbs/)
 * All breadcrumbs hook:
 * [https://www.seopress.org/support/hooks/#breadcrumbs](https://www.seopress.org/support/hooks/#breadcrumbs)

Viewing 1 replies (of 1 total)

The topic ‘hook for breadcrumbs’ is closed to new replies.

 * ![](https://ps.w.org/wp-seopress/assets/icon-128x128.gif?rev=3158903)
 * [SEOPress - AI SEO Plugin & On-site SEO](https://wordpress.org/plugins/wp-seopress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-seopress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-seopress/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-seopress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-seopress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-seopress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Benjamin Denis](https://wordpress.org/support/users/rainbowgeek/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/hook-for-breadcrumbs/#post-11988917)
 * Status: resolved