bbp_no_breadcrumb

  • apply_filters( 'bbp_no_breadcrumb', is_front_page() ) )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-common-template.php :: Trac Source Line: 1421
      	 * @uses bbp_get_reply_title() To get the reply title
      	 * @uses get_the_title() To get the title
      	 * @uses apply_filters() Calls 'bbp_get_breadcrumb' with the crumbs
      	 * @return string Breadcrumbs
      	 */
      	function bbp_get_breadcrumb( $args = array() ) {
      		global $bbp;
      
      		// Turn off breadcrumbs
      		if ( apply_filters( 'bbp_no_breadcrumb', is_front_page() ) )
      			return;
      
      		// Define variables
      		$front_id  = $root_id     = 0;
      		$ancestors = $breadcrumbs = array();
      		$pre_root_text    = $pre_front_text   = $pre_current_text    = '';
      		$pre_include_root = $pre_include_home = $pre_include_current = true;
      
      		/** Home Text *********************************************************/
      

Comments are closed.