Created
July 7, 2021 04:19
-
-
Save manutheblacker/e44b80ec1ba2459842190fdbd3b32ce1 to your computer and use it in GitHub Desktop.
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
/** | |
this filter take in parameter data who is an object build like this : | |
data = { | |
api_choosed : your_sms_gateway_name, | |
first_api_key : your_first_sms_gateway_api_key, | |
second_api_key : your_second_sms_gateway_api_key | |
}; **/ | |
wp.hooks.addFilter( 'woo_usn_save_gateways_data', data ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment