bp_members_component_link( string $component, string $action = '', string $query_args = '', string|bool $nonce = false )

Output a link to a members component subpage.


Description Description

See also See also


Top ↑

Parameters Parameters

$component

(string) (Required) See {@bp_get_members_component_link()}.

$action

(string) (Optional) See {@bp_get_members_component_link()}.

Default value: ''

$query_args

(string) (Optional) See {@bp_get_members_component_link()}.

Default value: ''

$nonce

(string|bool) (Optional) See {@bp_get_members_component_link()}.

Default value: false


Top ↑

Source Source

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

function bp_members_component_link( $component, $action = '', $query_args = '', $nonce = false ) {
	echo esc_url( bp_get_members_component_link( $component, $action, $query_args, $nonce ) );
}


Top ↑

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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