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.
Abstract_Builders::layout_has_condition( string $root, string $end, array $condition_groups )
Check if current custom layout has a specific condition.
Parameters
- $root
-
(Required) Page category.
- $end
-
(Required) Page type.
- $condition_groups
-
(Required) List of conditions.
Return
(bool)
Source
File: includes/modules/custom_layouts/admin/builders/abstract_builders.php
Expand full source code Collapse full source code View on Github