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' );
 
0
    0
    Your Cart
    Your cart is emptyReturn to Shop