Created
July 26, 2024 10:59
-
-
Save webdados/b9df3af2a9cfe2561ba50b99e56c1665 to your computer and use it in GitHub Desktop.
Increase DPD Portugal API timeout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Increase DPD Portugal API timeout */ | |
add_filter( 'woo_dpd_portugal_webservice_timeout', function( $seconds ) { | |
return 60; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment