bbp_get_the_body_class

  • apply_filters( 'bbp_get_the_body_class', $classes, $bbp_classes, $wp_classes, $custom_classes )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-common-template.php :: Trac Source Line: 606
      	if ( !empty( $bbp_classes ) )
      		$bbp_classes[] = 'bbPress';
      
      	// Merge WP classes with bbPress classes
      	$classes = array_merge( (array) $bbp_classes, (array) $wp_classes );
      
      	// Remove any duplicates
      	$classes = array_unique( $classes );
      
      	return apply_filters( 'bbp_get_the_body_class', $classes, $bbp_classes, $wp_classes, $custom_classes );
      }
      
      /**
       * Use the above is_() functions to return if in any bbPress page
       *
       * @since bbPress (r3344)
       *
       * @uses bbp_is_single_forum()
       * @uses bbp_is_single_topic()
       * @uses bbp_is_topic_edit()
      

Comments are closed.