bp_generate_rewrite_rules( WP_Rewrite $wp_rewrite )
Fire the ‘bp_generate_rewrite_rules’ action, where BP generates its rewrite rules.
Description
Parameters
- $wp_rewrite
-
(Required) See 'generate_rewrite_rules'.
Source
File: bp-core/bp-core-dependency.php
function bp_generate_rewrite_rules( $wp_rewrite ) { /** * Fires inside the 'bp_generate_rewrite_rules' function. * * @since BuddyPress 1.7.0 * * @param WP_Rewrite $wp_rewrite WP_Rewrite object. Passed by reference. */ do_action_ref_array( 'bp_generate_rewrite_rules', array( &$wp_rewrite ) ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.7.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.