1) You will need to make sure the template_notices
hook is in your template.
2) I’m not sure if an email is sent on settings change by default, but if not, the general approach would be to hook a custom function to bp_core_general_settings_after_save
. Within your custom function you should use wp_mail()
to send the email.
—–> 1) You will need to make sure the template_notices hook is in your template.
—> how to add it in my template if does not exist
—–> 2) Iām not sure if an email is sent on settings change by default, but if not, the general approach would be to hook a custom function to bp_core_general_settings_after_save. Within your custom function you should use wp_mail() to send the email.
—> in any file i can find bp_core_general_settings_after_save or i add it in bp-custom.php??
Regarding 1, have a read of the Template Hierarchy article. This will give you an overview of how templates work.
You’ll need to know PHP in order to do point 2.
Hello please i didn’t know what and where i will write can you help me please
Sorry for you, but this is a common open-source situation.
When you want something specific, you have to made it yourself or try to find another solution.
If you don’t know how to achieve what you want, you can learn or hire somebody to make it for you.
This is only a support forum for BuddyPress maintained by volonteers, not a school or a ready to use solution platform for special demands. Hope you undestand ! š