Created
April 5, 2024 15:30
-
-
Save webdados/ef6e5257483213eb7d060215f7d4e924 to your computer and use it in GitHub Desktop.
Get a token for the DPD Portugal REST AI from the "DPD Portugal for WooCommerce" plugin
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 | |
$token = apply_filters( 'woo_dpd_portugal_get_token', null ); | |
if ( $token['success'] ) { | |
// Do your thing with $token['token'] | |
var_dump( $token['token'] ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment