Home / Knowledgebase / WPCargo API Add on / Disable date hooks when using API forms Disable date hooks when using API forms Copy and paste this code in functions.php of your active theme. This hook will fixed the date value when submitting a API form in Shipment date. add_filter( 'wpcapi_date_time_override', '__return_false' );
Disable date hooks when using API forms Copy and paste this code in functions.php of your active theme. This hook will fixed the date value when submitting a API form in Shipment date. add_filter( 'wpcapi_date_time_override', '__return_false' );