W3cubDocs

/WordPress

apply_filters( ‘get_the_post_type_description’, string $description, WP_Post_Type $post_type_obj )

Filters the description for a post type archive.

Parameters

$descriptionstring
The post type description.
$post_type_objWP_Post_Type
The post type object.

Source

return apply_filters( 'get_the_post_type_description', $description, $post_type_obj );

Changelog

Version Description
4.9.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_the_post_type_description