i'm having trouble with something: I'm using ultimate affiliate pro as my affiliate network and woocommerce (as a contact form) to generate leads. I've managed to add in the 'order detail wp wooc admin area' an 'Affiliate' custom meta, but i'm having trouble automaticly linking the affiliate here. This is the code : add_action( 'woocommerce_admin_order_data_after_billing_address', 'my_custom_checkout_field_display_admin_order_meta', 10, 1 );...
Originally asked by Echostatic on Stack Exchange (stackoverflow) (CC BY-SA 4.0).