display_post_states, $post_states, $post

display_post_states, $post_states, $post

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: 7.0.3

apply_filters('display_post_states, $post_states, $post') is found 1 times:

  • /wp-admin/includes/template.php line 2368
    	 * @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.
    	 */
    	return apply_filters( 'display_post_states', $post_states, $post );
    }
    
    /**
     * Outputs the attachment media states as HTML.
     *
     * @since 3.2.0