• Hello,

    How do I implement this code. I am interested in adding it to a product id
    thanks in advance!

    $paypal_args = apply_filters( 'woocommerce_paypal_args', $paypal_args );
    // Hook in
    add_filter( 'woocommerce_paypal_args' , 'custom_override_paypal_email' );
    
    // Our hooked in function is passed via the filter!
    function custom_override_paypal_email( $paypal_args ) {
    	$paypal_args['business'] = 'info@ocweb.pro';
    	print_r( $paypal_args['business'] );
    	return $paypal_args;
    }

    http://wordpress.org/plugins/woocommerce/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Multiple paypal emails account’ is closed to new replies.