This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Module::is_custom_layout_hook_allowed( string $action )

Only allow specific hooks to wrap content.


Parameters

$action

(Required) The hook name.


Return

(bool)


Source

File: includes/modules/performance/module.php