BP_Component::register_post_types()
Set up the component post types.
Description Description
Source Source
File: bp-core/classes/class-bp-component.php
public function register_post_types() {
/**
* Fires in the register_post_types method inside BP_Component.
*
* This is a dynamic hook that is based on the component string ID.
*
* @since 1.5.0
*/
do_action( 'bp_' . $this->id . '_register_post_types' );
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |