post_states_html
post_states_html
Appears in: wordpress-6.9
Hook Type: filter
Displaying hooks found in version: wordpress-6.9apply_filters('post_states_html') is found 1 times:
- /wp-admin/includes/template.php line 2279
* @param array<string, string> $post_states A mapping of post state slugs to translated post state labels. * E.g. `array( 'draft' => __( 'Draft' ), 'sticky' => __( 'Sticky' ), ... )`. * @param WP_Post $post The current post object. */ $post_states_html = apply_filters( 'post_states_html', $post_states_html, $post_states, $post ); if ( $display ) { echo $post_states_html; } return $post_states_html;