Hi,
I’m trying to send a request after I create a Vendor. It has all info of my Vendor profile, and I want to send that info to an API, I’m trying to use this webhook:
add_action('hivepress/v1/models/vendor/create', 'addPartnerMagni');
function addPartnerMagni( $vendor_id, $vendor ) {
error_log('Function to call addPartnerMagni');
remove_action('hivepress/v1/models/vendor/create', 'addPartnerMagni');
}
I’m trying to write something to logs, but no luck, can you help me please?
Regards