learndash_get_timestamp_from_date_string

learndash_get_timestamp_from_date_string( string $date_string = '',  boolean $adjust_to_gmt = true )

Converts a date string to timestamp.


Description #


Parameters #

$date_string

(string) (Optional) The date string.

Default value: ''

$adjust_to_gmt

(boolean) (Optional) Whether to adjust the date to gmt time zone.

Default value: true


Return #

(int) The converted timestamp.


Source #

File: includes/ld-misc-functions.php