apply_filters( 'post_date_column_status', string $status, WP_Post $post, string $column_name, string $mode )
- Since
- 4.8.0
Filters the status text of the post.
Compatibility
- WordPress
- since 4.8.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$statusstring- The status text.
$postWP_Post- Post object.
$column_namestring- The column name.
$modestring- The list display mode ('excerpt' or 'list').
Where this hook fires · 1
wp-admin/includes/class-wp-posts-list-table.php:1234WP_Posts_List_Table::column_date()
Source code
* * @param string $status The status text. * @param WP_Post $post Post object. * @param string $column_name The column name. * @param string $mode The list display mode ('excerpt' or 'list'). */ $status = apply_filters( 'post_date_column_status', $status, $post, 'date', $mode ); if ( $status ) { echo $status . '<br />'; } /**Changelog
Introduced in 4.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.9.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.