bbp_is_favorites_active

  • apply_filters( 'bbp_is_favorites_active', (bool) get_option( '_bbp_enable_favorites', $default ) )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-core-options.php :: Trac Source Line: 244
       *
       * @since bbPress (r2658)
       *
       * @param $default bool Optional.Default value
       *
       * @uses get_option() To get the favorites option
       * @return bool Is favorites enabled or not
       */
      function bbp_is_favorites_active( $default = true ) {
      	return apply_filters( 'bbp_is_favorites_active', (bool) get_option( '_bbp_enable_favorites', $default ) );
      }
      
      /**
       * Checks if subscription feature is enabled.
       *
       * @since bbPress (r2658)
       *
       * @param $default bool Optional.Default value
       *
       * @uses get_option() To get the subscriptions option
      

Comments are closed.