bp_get_members_invitations_list_invites_permalink( $user_id )

Return the members invitations list permalink for a user.


Return Return

(string) Members invitations list permalink for a user.


Source Source

File: bp-members/bp-members-template.php

	function bp_get_members_invitations_list_invites_permalink( $user_id = 0 ) {
		if ( 0 === $user_id ) {
			$user_id = bp_loggedin_user_id();
			$domain  = bp_loggedin_user_domain();
		} else {
			$domain = bp_core_get_user_domain( (int) $user_id );
		}

		$retval = trailingslashit( $domain . bp_get_members_invitations_slug() . '/list-invites' );

		/**
		 * Filters the members invitations list permalink for a user.
		 *
		 * @since 8.0.0
		 *
		 * @param string $retval  Permalink for the sent invitation list screen.
		 * @param int    $user_id The user ID.
		 */
		return apply_filters( 'bp_get_members_invitations_list_invites_permalink', $retval, $user_id );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
8.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.