This hook can be used for changing the HTML of the “My Content & Settings” button.
Changelog
since 7.2.0 version
Parameters
1. $html (type: string) – the HTML of the “My Content & Settings” button.
2. $currentUser (type: WP_User object) – the object of the current user (in the case of gusts it’ll be empty)
3. $currentUserEmail (type: string) – the mail of current user (if the email of the guest is saved in cookies, the email will exist)
Usage
add_filter("wpdiscuz_user_settings_button", function ($html, $currentUser, $currentUserEmail) { return ""; }, 10, 3);