apply_filters( 'display_post_states', array $post_states , WP_Post $post )
Filters the default post display states used in the posts list table.
Parameters
- $post_states
-
(array) An array of post display states.
- $post
-
(WP_Post) The current post object.
Source
Changelog
Version | Description |
---|---|
WP-3.6.0 | Added the $post parameter. |
WP-2.8.0 | Introduced. |