apply_filters( 'learndash_post_type_has_archive', boolean $has_archive , string $post_type )
Filters whether a post type has archive or not.
Description Description
Parameters Parameters
- $has_archive
-
Whether the post type has archive or not.
- $post_type
-
Post type slug.
Source Source
File: includes/ld-misc-functions.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |