bp_is_custom_post_type_feed_enable( bool $default = false )
Checks if custom post type feed is enabled.
Description
Parameters
- $default
-
(bool) (Optional) Fallback value if not found in the database. Default: false.
Default value: false
Return
(bool) Is post type feed enabled or not
Source
File: bp-core/bp-core-options.php
function bp_is_custom_post_type_feed_enable( $default = false ) { return (bool) apply_filters( 'bp_is_custom_post_type_feed_enable', (bool) get_option( 'bp-enable-custom-post-type-feed', $default ) ); }
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.