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
- bp_get_members_component_link(): for description of parameters.
Parameters Parameters
- $component
-
(Required) See {@bp_get_members_component_link()}.
- $action
-
(Optional) See {@bp_get_members_component_link()}.
Default value: ''
- $query_args
-
(Optional) See {@bp_get_members_component_link()}.
Default value: ''
- $nonce
-
(Optional) See {@bp_get_members_component_link()}.
Default value: false
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 ) ); }
Changelog Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |