get_the_post_type_description WordPress Filter Hook
The get_the_post_type_description WordPress hook is used to get the description for a post type. The post type must be specified when using this hook.
apply_filters( 'get_the_post_type_description', string $description , WP_Post_Type $post_type_obj ) #
Filters the description for a post type archive.
Parameters
- $description
(string)The post type description.
- $post_type_obj
(WP_Post_Type)The post type object.
Source
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |