2345* are used within the filter, their existence should be checked2346* with `function_exists()` before being used.2347*2348* @param string[]$post_states An array of post display states.2349* @param WP_Post$post The current post object.2350*/2351returnapply_filters('display_post_states',$post_states,$post);2352}23532354/**2355* Outputs the attachment media states asHTML.2356*2357* @since 3.2.0
History
Introduced in 2.8.0. 2 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
6.9.7
Parameter `` added.verified against source
6.9.7
Parameter $post_states removed.verified against source
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.from the docblock
3.6.0
Added the $post parameter.from the docblock
2.8.0
Introduced.from the docblock
About this page
Parsed data
Generated from the wordpress-develop 6.7.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.