bbp_is_subscriptions

  • apply_filters( 'bbp_is_subscriptions', $retval )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-common-template.php :: Trac Source Line: 405
       * @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
       */
      function bbp_is_subscriptions() {
      
      	$retval = bbp_is_query_name( 'bbp_user_profile_subscriptions' );
      
      	return (bool) apply_filters( 'bbp_is_subscriptions', $retval );
      }
      
      /**
       * Check if current page shows the topics created by a bbPress user (profile
       * page)
       *
       * @since bbPress (r2688)
       *
       * @uses bbp_get_query_name() To get the query name
       * @return bool True if it's the topics created page, false if not
      

Comments are closed.