apply_filters( 'display_post_states', string[] $post_states, WP_Post $post )

Filters the default post display states used in the posts list table.

Description Description

Parameters Parameters


(string[]) An array of post display states.


(WP_Post) The current post object.

Top ↑

Source Source

File: wp-admin/includes/template.php

View on Trac

Top ↑

Changelog Changelog

Version Description
3.6.0 Added the $post parameter.
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.