WordPress at a glance
filter is not described

display_post_states filter-hook . WP 2.8.0

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

Usage

add_filter( 'display_post_states', 'filter_function_name_318', 10, 2 );
function filter_function_name_318( $post_states, $post ){
	// filter...

	return $post_states;
}
$post_states(string[])
An array of post display states.
$post(WP_Post)
The current post object.

Список изменений

С версии 2.8.0 Введена.
С версии 3.6.0 Added the $post parameter.
С версии 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.

Где вызывается хук

get_post_states()
display_post_states
wp-admin/includes/template.php 2224
return apply_filters( 'display_post_states', $post_states, $post );

Где используется хук в ядре WP

Использование не найдено.