bbp_is_favorites

  • apply_filters( 'bbp_is_favorites', $retval )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-common-template.php :: Trac Source Line: 390
       * @since bbPress (r2652)
       *
       * @uses bbp_get_query_name() To get the query name
       * @return bool True if it's the favorites page, false if not
       */
      function bbp_is_favorites() {
      
      	$retval = bbp_is_query_name( 'bbp_user_profile_favorites' );
      
      	return (bool) apply_filters( 'bbp_is_favorites', $retval );
      }
      
      /**
       * Check if current page is a bbPress user's subscriptions page (profile page)
       *
       * @since bbPress (r2652)
       *
       * @uses bbp_get_query_name() To get the query name
       * @return bool True if it's the subscriptions page, false if not
       */
      

Comments are closed.