bbp_get_favorites_permalink

  • apply_filters( 'bbp_get_favorites_permalink', bbp_get_user_profile_url( $user_id ), $user_id )

    Source Reference:

    • Component: bbPress :: bbp-user
      File: /bbp-includes/bbp-user-template.php :: Trac Source Line: 496
      	 * @since bbPress (r2652)
      	 *
      	 * @param int $user_id Optional. User id
      	 * @uses bbp_get_user_profile_url() To get the user profile url
      	 * @uses apply_filters() Calls 'bbp_get_favorites_permalink' with the
      	 *                        user profile url and user id
      	 * @return string Permanent link to user profile page
      	 */
      	function bbp_get_favorites_permalink( $user_id = 0 ) {
      		return apply_filters( 'bbp_get_favorites_permalink', bbp_get_user_profile_url( $user_id ), $user_id );
      	}
      
      /**
       * Output the link to make a topic favorite/remove a topic from favorites
       *
       * @since bbPress (r2652)
       *
       * @param array $add Optional. Add to favorites args
       * @param array $rem Optional. Remove from favorites args
       * @param int $user_id Optional. User id
      

Comments are closed.