Used By
Used By | Description |
---|---|
wp-includes/post.php: wp_set_post_categories() | Set categories for a post. |
Filters post types (in addition to ‘post’) that require a default category.
(string[]) An array of post type names. Default empty array.
File: wp-includes/post.php
Version | Description |
---|---|
5.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/default_category_post_types