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

$description

(string) The post type description.

$post_type_obj

(WP_Post_Type) The post type object.

Source

File: wp-includes/general-template.php

View on Trac

Changelog

Version Description
4.9.0 Introduced.

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