bp_the_members_invitation_property( string $property = '', string $context = 'html' )

Output the requested property of the invitation currently being iterated on.


Parameters Parameters

$property

(string) (Optional) The name of the property to display.

Default value: ''

$context

(string) (Optional) The context of display. Possible values are 'attribute' and 'html'.

Default value: 'html'


Source Source

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

function bp_the_members_invitation_property( $property = '', $context = 'html' ) {
	if ( ! $property ) {
		return;
	}

	/**
	 * Use this filter to sanitize the output.
	 *
	 * @since 8.0.0
	 *
	 * @param int|string $value    The value for the requested property.
	 * @param string     $property The name of the requested property.
	 * @param string     $context  The context of display.
	 */
	echo apply_filters( 'bp_the_members_invitation_property', bp_get_the_members_invitation_property( $property ), $property, $context );
}


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.