Used By
Used By | Description |
---|---|
wp-admin/includes/template.php: get_post_states() | Retrieves an array of post states from a post. |
Filters the default post display states used in the posts list table.
(string[]) An array of post display states.
(WP_Post) The current post object.
Version | Description |
---|---|
5.5.0 | Also applied in the Customizer context. If any admin functions are used within the filter, their existence should be checked with function_exists() before being used. |
3.6.0 | Added the $post parameter. |
2.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/display_post_states