Actions #
/**
* Example: Remove the deposit data from the cart
* @param object $cart The cart object
*/
add_action( 'wc_deposit_cart', 'ci_woo_deposits_pro_cart', 10, 1 );
function ci_woo_deposits_pro_cart( $cart ) {
remove_filter( 'woocommerce_after_cart_item_name', array( $cart, 'display_cart_item_deposit_data' ), 10, 2 );
}
- ‘wc_deposit_cart’
- ‘deposits_options_fileds’
- ‘deposits_options_fileds’
- ‘deposits_options_fileds’
- ‘wc_deposit_checkout’
- ‘bayna_all_deposit_payments_paid’
- ‘banyna_update_checkout_order_meta’
Filters #
- ‘deposits_value’
- ‘label_deposit’
- ‘label_due_payment’
- ‘deposits_type’
- ‘deposits_mode’
- ‘single_product_deposits_notice’
- ‘frontend_deposits_radio_input’
- ‘label_deposit_paid’
- ‘woocommerce_deposit_to_pay_html’
- ‘bayna_due_payment_html’
- ‘bayna_deposit_order_received_url_args’
- ‘change_order_status_on_deposit_complete_payments’
- ‘bayna_deposit_payment_editable’
- ‘change_order_status_on_deposit_cancel’
If you need more hooks in the core or need help with customization, feel free to email us.