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