bbp_edit_user_form_fields()
Output the required hidden fields when editing a user
Description
Source
File: bp-forums/common/template.php
1793 1794 1795 1796 1797 1798 1799 1800 | function bbp_edit_user_form_fields() { ?> <input type= "hidden" name= "action" id= "bbp_post_action" value= "bbp-update-user" /> <input type= "hidden" name= "user_id" id= "user_id" value= "<?php bbp_displayed_user_id(); ?>" /> <?php wp_nonce_field( 'update-user_' . bbp_get_displayed_user_id() ); } |
Changelog
Version | Description |
---|---|
bbPress (r2690) | 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.