Return the XProfile group edit form action.

Return Return


Source 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 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 );

Top ↑

Changelog Changelog

Version Description
1.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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