bbp_notice_edit_user_success()
Display profile edit success notice on user edit page
Description Description
Source Source
File: includes/users/template.php
function bbp_notice_edit_user_success() {
// Bail if no updated argument
if ( empty( $_GET['updated'] ) ) {
return;
}
// Bail if not on users own profile
if ( ! bbp_is_single_user_edit() ) {
return;
} ?>
<div class="bbp-template-notice">
<ul>
<li><?php esc_html_e( 'User updated.', 'bbpress' ); ?></li>
</ul>
</div>
<?php
}
Changelog Changelog
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |