Alert: 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.
WC_REST_System_Status_V2_Controller::check_if_field_item_exists( string $section, array $items, array $fields )
Check if field item exists.
Description Description
Parameters Parameters
- $section
-
(Required) Fields section.
- $items
-
(Required) List of items to check for.
- $fields
-
(Required) List of fields to be included on the response.
Return Return
(bool)
Source Source
File: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
Changelog Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |