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.


Top ↑

Return Return

(int|null) The date string converted to a timestamp or null.


Top ↑

Source Source

File: includes/data-stores/class-wc-data-store-wp.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.8.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.