bp_core_admin_get_active_custom_post_type_feed()
Save all the public custom post type to options.
Description
Source
File: bp-blogs/bp-blogs-functions.php
function bp_core_admin_get_active_custom_post_type_feed() {
$post_types = get_post_types( [ 'public' => true ] );
bp_update_option('bp_core_admin_get_active_custom_post_type_feed', $post_types);
}
Changelog
| Version | Description |
|---|---|
| BuddyBoss 1.0.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.