Beziworld 2.4.1 has 4 actions and 15 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 Beziworld fires an action
add_action( 'bzim/stock/updated', function( $owner, $new, $previous, $mode ) {
// Your code runs here.
}, 10, 4 );
// Change a value Beziworld is about to use
add_filter( 'bzim/alert/body', function( $body, $items, $recipient ) {
// Change $body here.
return $body;
}, 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
-
/** * Filters the alert e-mail body. */ apply_filters( 'bzim/alert/body', $body, $items, $recipient ); -
/** * Filters the resolved recipient => items map just before sending. */ apply_filters( 'bzim/alert/map', $map ); -
/** * Filters the alert e-mail subject. */ apply_filters( 'bzim/alert/subject', $subject, $count, $recipient ); -
/** * Filters the client-side bulk-update batch size. */ apply_filters( 'bzim/batch_size', self::BATCH_SIZE ); -
/** * Filters the capability required to access the inventory screen and its AJAX * endpoints. */ apply_filters( 'bzim/capability', 'manage_woocommerce' ); -
/** * Filters the order statuses counted as sales for the stock forecast. */ apply_filters( 'bzim/forecast/order_statuses', [ 'completed', 'processing', 'on-hold' ] ); -
/** * Filters the source recorded for a stock change made outside the plugin. */ apply_filters( 'bzim/history/external_source', self::in_order_context() ? 'order' : 'other', $product ); -
/** * Filters the stock-history retention period in days. Entries older than this * are deleted daily; 0 keeps the full history. */ apply_filters( 'bzim/history/retention_days', StockLogRepository::RETENTION_DAYS ); -
/** * Filters the global low-stock threshold used when a product does not define * its own low-stock amount. */ apply_filters( 'bzim/low_stock_threshold', $default ); -
/** * Filters the default number of products listed per page when the user has not * set their own "Products per page" screen option. */ apply_filters( 'bzim/per_page', self::PER_PAGE ); -
/** * Filters the product post statuses included in the inventory query. */ apply_filters( 'bzim/query/post_statuses', [ 'publish', 'private', 'draft' ] ); -
/** * Fires after a single product's stock has been updated by the plugin. */ do_action( 'bzim/stock/updated', $owner, $new, $previous, $mode ); -
/** * Filters the per-request variation processing chunk size. */ apply_filters( 'bzim/variation_chunk', self::VARIATION_CHUNK ); -
apply_filters( 'bzim/import/max_bytes', self::MAX_BYTES ); -
apply_filters( 'bzim/import/max_rows', self::MAX_ROWS ); -
do_action( 'bzim/plugin/booted', $this ); -
apply_filters( 'bzim/product_editor/inventory_section', 'product-inventory-section' ); -
do_action( 'woocommerce_product_set_stock_status', $id, $status, $product ); -
do_action( 'woocommerce_variation_set_stock_status', $id, $status, $product );
Generated from Beziworld'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: