bp_before_profile_edit_content
Fires after the display of member profile edit content.
Description
do_action( 'bp_before_profile_edit_content' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'bp_before_profile_edit_content' );
- The following example is for adding a hook callback.
- // define the bp_before_profile_edit_content callback
- function action_bp_before_profile_edit_content( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'bp_before_profile_edit_content', 'action_bp_before_profile_edit_content', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'bp_before_profile_edit_content', 'action_bp_before_profile_edit_content', 10, 0 );
Defined (2)
The action is defined in the following location(s).
- /bp-themes/bp-default/members/single/profile/edit.php
- <?php do_action( 'bp_before_profile_edit_content' );
- /bp-templates/bp-legacy/buddypress/members/single/profile/edit.php
- do_action( 'bp_before_profile_edit_content' );