apply_filters( ‘quick_edit_enabled_for_post_type’, bool $enable, string $post_type )

In this article

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

VersionDescription
6.4.0Introduced.

User Contributed Notes

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