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.

WC_Customer_Download_Data_Store::adjust_date_for_db( mixed $date )

Adjust a date value to be inserted in the database.


Description Description


Parameters Parameters

$date

(Required) The date value. Can be a WC_DateTime, a timestamp, or anything else that "date" recognizes.


Top ↑

Return Return

(string) The date converted to 'Y-m-d' format.


Top ↑

Source Source

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


			


Top ↑

User Contributed Notes User Contributed Notes

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