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
File: wp-includes/general-template.php
.
View all references
return apply_filters( 'get_the_post_type_description', $description, $post_type_obj );
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |