Filters whether Quick Edit should be enabled for the given post type.
Parameters
$enable
bool- Whether to enable the Quick Edit functionality. Default true.
$post_type
string- Post type name.
Source
$quick_edit_enabled = apply_filters( 'quick_edit_enabled_for_post_type', true, $post->post_type );
Changelog
Version | Description |
---|---|
6.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.