bp_add_rewrite_rules()
Fire the ‘bp_add_rewrite_rules’ action, where BP adds its custom rewrite rules.
Description
Source
File: bp-core/bp-core-dependency.php
function bp_add_rewrite_rules() { /** * Fires inside the 'bp_add_rewrite_rules' function, where BP adds its custom rewrite rules. * * @since BuddyPress 1.9.0 */ do_action( 'bp_add_rewrite_rules' ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.9.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.