apply_filters( ‘quick_edit_statuses’, array<string,string> $inline_edit_statuses, string $post_type, bool $bulk, bool $can_publish )

In this article

Filters the statuses available in the Quick Edit and Bulk Edit UI.

Parameters

$inline_edit_statuses<span class="array”>array
An array of statuses available in the Quick Edit UI.
$post_typestring
The post type slug.
$bulkbool
A flag to denote if it’s a bulk action.
$can_publishbool
A flag to denote if the user can publish posts.

Source

$inline_edit_statuses = apply_filters( 'quick_edit_statuses', $inline_edit_statuses, $screen->post_type, $bulk, $can_publish );

Changelog

VersionDescription
6.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.