bp_get_the_profile_group_edit_form_action()
Return the XProfile group edit form action.
Description
Return
(string)
Source
File: bp-xprofile/bp-xprofile-template.php
function bp_get_the_profile_group_edit_form_action() { global $group; // Build the form action URL. $form_action = trailingslashit( bp_displayed_user_domain() . bp_get_profile_slug() . '/edit/group/' . $group->id ); /** * Filters the action for the XProfile group edit form. * * @since BuddyPress 1.1.0 * * @param string $value URL for the action attribute on the * profile group edit form. */ return apply_filters( 'bp_get_the_profile_group_edit_form_action', $form_action ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.1.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.