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.
DataSourcePoller::validate_spec( object $spec, string $url )
Validate the spec.
Description Description
Parameters Parameters
- $spec
-
(Required) The spec to validate.
- $url
-
(Required) The url of the feed that provided the spec.
Return Return
(bool) The result of the validation.
Source Source
File: packages/woocommerce-admin/src/RemoteInboxNotifications/DataSourcePoller.php