bbp_breadcrumb_separator

  • apply_filters( 'bbp_breadcrumb_separator', $sep )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-common-template.php :: Trac Source Line: 1621
      			$breadcrumbs[] = '<span class="bbp-breadcrumb-current">' . $current_text . '</span>';
      
      		/** Finish Up *********************************************************/
      
      		// Pad the separator
      		if ( !empty( $pad_sep ) )
      			$sep = str_pad( $sep, strlen( $sep ) + ( (int) $pad_sep * 2 ), ' ', STR_PAD_BOTH );
      
      		// Allow the separator of the breadcrumb to be easily changed
      		$sep = apply_filters( 'bbp_breadcrumb_separator', $sep );
      
      		// Right to left support
      		if ( is_rtl() )
      			$breadcrumbs = apply_filters( 'bbp_breadcrumbs', array_reverse( $breadcrumbs ) );
      
      		// Build the trail
      		$trail = !empty( $breadcrumbs ) ? $before . implode( $sep, $breadcrumbs ) . $after: '';
      
      		return apply_filters( 'bbp_get_breadcrumb', $trail, $breadcrumbs, $r );
      	}
      

Comments are closed.