If order status updated to refunded execute ‘failed_status_ refund’ add_action(‘woocommerce_order_status_refunded’, ‘failed_status_refund’); ...Read More
Using this filter, we can add code that should be executed after woocommerce order is completed. add_action(‘woocommerce_order_status_completed’, ‘complte_order_process_functi...Read More
Using this filter, we can edit the search criteria in woocommerce order. Usually search done based on following fields: Array ( [0] => _billing_address_index [1] => _shipping_address_index [2] =...Read More
Using this filter, we can edit shipping methods. In this filter we will get current shipping packages details (free shipping, flat rate or some other packages) Sample: function all_shipping_methods( $...Read More
Using this filter, we can edit shipping address fields. Sample : add_filter( ‘woocommerce_shipping_fields’, ‘shippingfields’ ); function shippingfields ( $fields ) { $fields[‘...Read More
To alter all billing fields while checkout. EG: add_filter( ‘woocommerce_default_address_fields’, ‘my_default_address_fields’ ); function my_default_address_fields( $fields ) {...Read More