bp_register_post_types()
Fire the ‘bp_register_post_types’ action, where plugins should register post types.
Description
Source
File: bp-core/bp-core-dependency.php
function bp_register_post_types() {
/**
* Fires inside the 'bp_register_post_types' function, where plugins should register post types.
*
* @since BuddyPress 2.5.0
*/
do_action( 'bp_register_post_types' );
}
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.