Filters whether Quick Edit should be enabled for the given post type.
Parameters
$enablebool- Whether to enable the Quick Edit functionality. Default true.
$post_typestring- 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.