Dropshipping with Banggood for WooCommerce (Lite version) 1.2.11 has 29 actions and 26 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Dropshipping with Banggood for WooCommerce (Lite version) fires an action
add_action( 'b2wl_init', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Dropshipping with Banggood for WooCommerce (Lite version) is about to use
add_filter( 'auth_cookie_expiration', function( $seconds, $ID, $arg3 ) {
// Change $seconds here.
return $seconds;
}, 10, 3 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Bng2Woo Lite global init action */ do_action( 'b2wl_init' ); -
/** * Fires before an attachment is deleted, at the start of * wp_delete_attachment(). */ do_action( 'delete_attachment', $post_id ); -
/** * This action is documented in wp-includes/post.php */ do_action( 'delete_post', $post_id ); -
/** * Fires immediately before a specific transient is deleted. */ do_action( "delete_transient_{$transient}", $transient ); -
/** * This action is documented in wp-includes/post.php */ do_action( 'deleted_post', $post_id ); -
/** * Fires after a transient is deleted. */ do_action( 'deleted_transient', $transient ); -
/** * Filters the expiration for a transient before its value is set. */ apply_filters( "expiration_of_transient_{$transient}", $expiration, $value, $transient ); -
/** * Filters a specific transient before its value is set. */ apply_filters( "pre_set_transient_{$transient}", $value, $expiration, $transient ); -
/** * Filters the value of an existing transient. */ apply_filters( "pre_transient_{$transient}", false, $transient ); -
/** * Fires after the value for a specific transient has been set. */ do_action( "set_transient_{$transient}", $value, $expiration, $transient ); -
/** * Fires after the value for a transient has been set. */ do_action( 'setted_transient', $transient, $value, $expiration ); -
/** * Filters an existing transient's value. */ apply_filters( "transient_{$transient}", $value, $transient ); -
apply_filters( "{$this->identifier}_cron_interval", 5 ); -
do_action( 'wcae_after_add_tracking_code', $order_id, $code_value ); -
apply_filters( "{$controller_class}_path", $path ); -
apply_filters( "{$this->identifier}_default_time_limit", 20 ); -
apply_filters( "{$this->identifier}_memory_exceeded", $return ); -
apply_filters( "{$this->identifier}_queue_lock_time", $lock_duration ); -
apply_filters( "{$this->identifier}_time_exceeded", $return ); -
apply_filters( 'auth_cookie_expiration', $seconds, $user->ID, true ); -
do_action( 'b2w_after_template_redirect' ); -
do_action( 'b2w_template_redirect' ); -
do_action( 'b2wl_add_product', $product_id ); -
do_action( 'b2wl_admin_assets', $page ); -
do_action( 'b2wl_admin_init' ); -
do_action( "b2wl_after_{$view_action}" ); -
do_action( 'b2wl_after_upd_product', $product_id, $product, $params ); -
apply_filters( 'b2wl_ajax_product_info', $content, $post_id, $external_id ); -
do_action( 'b2wl_assets', $page ); -
do_action( "b2wl_before_{$view_action}" ); -
apply_filters( 'b2wl_check_defined_filter', (defined($name) && constant($name)), $name ); -
apply_filters( 'b2wl_clean_description_tags', array('script', 'head', 'meta', 'style', 'map', 'noscript', 'object', 'iframe') ); -
apply_filters( 'b2wl_configure_lang_data', $lang_data ); -
do_action( 'b2wl_frontend_init' ); -
do_action( 'b2wl_install' ); -
do_action( 'b2wl_json_api', $controller, $method ); -
apply_filters( 'b2wl_json_api_controllers', $controllers ); -
do_action( "b2wl_json_api-{$controller}-{$method}" ); -
do_action( "b2wl_pre_set_setting_{$setting}", $old_value, $value, $setting ); -
apply_filters( 'b2wl_set_product_attributes', $attributes ); -
do_action( "b2wl_set_setting_{$setting}", $old_value, $value, $setting ); -
apply_filters( 'b2wl_setting_modules', array( array('id' => 'common', 'name' => __('Common settings', 'bng2woo-lite')), array('id' => 'account', 'name' => __('Account settings', 'bng2woo-lite')), array('id' => 'price_formula', 'name' => __('Pricing Rules', 'bng2woo-lite')), array('id' => 'shipping', 'name' => __('Shipping settings', 'bng2woo-lite')), array('id' => 'phrase_filter', 'name' => __('Phrase Filtering', 'bng2woo-lite')), a... ); -
apply_filters( 'b2wl_setting_view', $current_module ); -
do_action( 'b2wl_uninstall' ); -
apply_filters( 'b2wl_wcpl_bulk_actions_init', array($this->bulk_actions, $this->bulk_actions_text) ); -
apply_filters( 'b2wl_wcpl_bulk_actions_perform', $sendback, $action, $post_ids ); -
apply_filters( 'b2wl_woocommerce_after_add_product', B2WL_ResultBuilder::buildOk(array('product_id' => $product_id)), $product_id, $product, $params ); -
apply_filters( 'b2wl_woocommerce_after_upd_product', $result, $product_id, $product, $params ); -
do_action( 'b2wl_woocommerce_before_add_product', $product, $params ); -
do_action( 'b2wl_woocommerce_upd_product', $product_id, $product, $params ); -
apply_filters( 'https_local_ssl_verify', false ); -
apply_filters( 'json_api_encode', $data ); -
apply_filters( 'json_api_http_status', $http_status );
Generated from Dropshipping with Banggood for WooCommerce (Lite version)'s GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: