Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'woocommerce_email_before_order_table', 'link_for_form_customer_email', 20, 4 );
- function link_for_form_customer_email( $order, $sent_to_admin, $plain_text, $email ) {
- if ( $email->id == 'customer_processing_order' )
- echo 'Заповніть анкету за посиланням: ';
- if (get_field('link_for_form', $order->id)) {
- echo get_field('link_for_form', $order->id);
- }
- echo '(потрібно вказати Payment ID)';
- }
Advertisement
Add Comment
Please, Sign In to add comment