apply_filters( 'learndash_post_type_feed', boolean $cpt_has_feed , string $feed_post_type , WP_Post_Type $feed_post_type_object )
Filters whether to show feeds for the custom post type.
Description Description
Parameters Parameters
- $cpt_has_feed
-
Whether to show feeds for the post type. True to show feed otherwise false.
- $feed_post_type
-
Post Type slug.
- $feed_post_type_object
-
WP_Post_Type instance.
Source Source
File: includes/ld-misc-functions.php
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |