wpseek.com
A WordPress-centric search engine for devs and theme authors



get_the_post_type_description › WordPress Filter Hooks

Since4.9.0
Deprecatedn/a
apply_filters( 'get_the_post_type_description', $description, $post_type_obj )
Parameters: (2)
  • (string) $description The post type description.
    Required: Yes
  • (WP_Post_Type) $post_type_obj The post type object.
    Required: Yes
Defined at:
Codex:

Filters the description for a post type archive.





Source

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