bp_email_redirect_to_customizer()
Implements a JS redirect to the Customizer, previewing a randomly selected email.
Description
Source
File: bp-core/bp-core-customizer-email.php
function bp_email_redirect_to_customizer() { printf( '<script>window.location = "%s";</script>', esc_url_raw( bp_email_get_redirect_to_customizer_url() ) ); exit; }
Changelog
Version | Description |
---|---|
BuddyPress 2.5.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.