bp_edit_profile_button()
Render an edit profile button.
Description
Source
File: bp-xprofile/bp-xprofile-template.php
1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 | function bp_edit_profile_button() { bp_button( array ( 'id' => 'edit_profile' , 'component' => 'xprofile' , 'must_be_logged_in' => true, 'block_self' => true, 'link_href' => trailingslashit( bp_displayed_user_domain() . bp_get_profile_slug() . '/edit' ), 'link_class' => 'edit' , 'link_text' => __( 'Edit Profile' , 'buddyboss' ), ) ); } |
Changelog
Version | Description |
---|---|
BuddyPress 1.0.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.