display_post_states – filter
Filters the default post display states used in the posts list table.
Parameters
- .
- ( 2.8.0 ) . .
- Added
- ( 3.6.0 ) the `$post` parameter. . . .
- Also
- ( 5.5.0 ) 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. . . .
- $post_states
- ( string[] ) An array of post display states. . . .
- ( WP_Post ) $post The current post object. . . .