BP_Component::add_rewrite_rules()
Add any additional rewrite rules.
Description
Source
File: bp-core/classes/class-bp-component.php
public function add_rewrite_rules() {
/**
* Fires in the add_rewrite_rules method inside BP_Component.
*
* This is a dynamic hook that is based on the component string ID.
*
* @since BuddyPress 1.9.0
*/
do_action( 'bp_' . $this->id . '_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.