wpseek.com
A WordPress-centric search engine for devs and theme authors



quick_edit_statuses › WordPress Filter Hooks

Since6.9.0
Deprecatedn/a
apply_filters( 'quick_edit_statuses', $inline_edit_statuses, $screen->post_type, $bulk, $can_publish )
Parameters: (4)
  • (array<string,string>) $inline_edit_statuses An array of statuses available in the Quick Edit UI.
    Required: Yes
  • (string) $post_type The post type slug.
    Required: Yes
  • (bool) $bulk A flag to denote if it's a bulk action.
    Required: Yes
  • (bool) $can_publish A flag to denote if the user can publish posts.
    Required: Yes
Defined at:
Codex:

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





Source

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