WC_Data_Store_WP::string_to_timestamp( string $time_string )
Converts a WP post date string into a timestamp.
Description Description
Parameters Parameters
- $time_string
-
(Required) The WP post date string.
Return Return
(int|null) The date string converted to a timestamp or null.
Source Source
File: includes/data-stores/class-wc-data-store-wp.php
Changelog Changelog
Version | Description |
---|---|
4.8.0 | Introduced. |