Bidra Auctions for WooCommerce 1.3.2 has 39 actions and 70 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 Bidra Auctions for WooCommerce fires an action
add_action( 'bafw_auction_closed', function( $auction, $winner_id, $fail_reason ) {
// Your code runs here.
}, 10, 3 );
// Change a value Bidra Auctions for WooCommerce is about to use
add_filter( 'bafw_curcy_convert_amount', function( $value, $amount, $auction ) {
// Change $value here.
return $value;
}, 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
-
/** * Fires when an auction closes, whether or not it sold. */ do_action( 'bafw_auction_closed', $auction, $winner_id, $fail_reason ); -
/** * Filters whether CURCY converts an auction amount for display. */ apply_filters( 'bafw_curcy_convert_amount', true, $amount, $auction ); -
/** * Fires after the auction details of an auction email, before the call to * action. */ do_action( 'bafw_email_auction_details', $auction, $email, false ); -
/** * Filters the auctions listed in a My Account auctions tab. */ apply_filters( 'bafw_account_auction_ids', $ids, $view, $user_id ); -
/** * Filters the My Account auction views. */ apply_filters( 'bafw_account_auction_views', $views ); -
/** * Fires above the auction list of a My Account auctions tab. */ do_action( 'bafw_account_auctions_before_table', $current, $auctions ); -
/** * This action is documented in includes/Frontend/MyAccount.php */ do_action( "bafw_account_auctions_view_{$current}", $current ); -
/** * Filters the auction add to cart button text. */ apply_filters( 'bafw_add_to_cart_text', $text, $this ); -
/** * Filters the auction add to cart URL. */ apply_filters( 'bafw_add_to_cart_url', $url, $this ); -
/** * Filters the available admin notices. */ apply_filters( 'bafw_admin_notices', $notices ); -
/** * Fires when a tab registered by an add-on is rendered. */ do_action( "bafw_admin_tab_{$current_tab}", $current_tab ); -
/** * Filters the plugin admin tabs. */ apply_filters( 'bafw_admin_tabs', array( 'bids' => __( 'Bids', 'bidra-auctions-for-woocommerce' ), 'winners' => __( 'Winners', 'bidra-auctions-for-woocommerce' ), 'settings' => __( 'Settings', 'bidra-auctions-for-woocommerce' ), ) ); -
/** * Fires after the auction bid form. */ do_action( 'bafw_after_bid_form', $auction ); -
/** * Fires after the built-in settings fields. */ do_action( 'bafw_after_settings_fields' ); -
/** * Filters the live auction data returned to the front end. */ apply_filters( 'bafw_ajax_auction_data', $auctions, $auction_ids ); -
/** * Filters the badges shown for an auction in product lists. */ apply_filters( 'bafw_auction_badges', $badges, $auction ); -
/** * Fires after an auction was closed by a Buy It Now (instant) purchase. */ do_action( 'bafw_auction_bought_now', $auction, $order ); -
/** * Fires after auction settings have been validated and applied to a product, * before it is saved. */ do_action( 'bafw_auction_data_applied', $product, $data ); -
/** * Fires after the auction state of a duplicated product has been reset. */ do_action( 'bafw_auction_duplicated', $duplicate, $original ); -
/** * Filters the recipients of an auction email. */ apply_filters( 'bafw_auction_email_recipient', $recipients, $this, $this->auction ); -
/** * Fires after the store extended an auction. */ do_action( 'bafw_auction_extended', $auction, $new_end, $seconds ); -
/** * Fires when an auction closes without a winner. */ do_action( 'bafw_auction_failed', $auction, $fail_reason ); -
/** * Fires after the paid state of an auction has changed. */ do_action( 'bafw_auction_paid_state_changed', $auction, $paid, $order_id ); -
/** * Filters the amount shown (and stored as the WooCommerce price) for an * auction. */ apply_filters( 'bafw_auction_price', $price, $this ); -
/** * Fires after an auction has been recalculated from its bid history. */ do_action( 'bafw_auction_recalculated', $auction ); -
/** * Fires after an auction was restarted as a new listing. */ do_action( 'bafw_auction_restarted', $auction, $previous_bidders ); -
/** * Filters the user who sells an auction. */ apply_filters( 'bafw_auction_seller_id', $seller_id, $auction_id ); -
/** * Fires when an auction is marked as sold outside the store. */ do_action( 'bafw_auction_sold_offline', $auction ); -
/** * Fires when an auction starts. */ do_action( 'bafw_auction_started', $auction ); -
/** * Filters the storefront auction status filters. */ apply_filters( 'bafw_auction_status_filters', array( 'live' => __( 'Live', 'bidra-auctions-for-woocommerce' ), 'upcoming' => __( 'Upcoming', 'bidra-auctions-for-woocommerce' ), 'ended' => __( 'Ended', 'bidra-auctions-for-woocommerce' ), ) ); -
/** * Filters the list of auction lifecycle statuses. */ apply_filters( 'bafw_auction_statuses', array( 'running' => __( 'Running', 'bidra-auctions-for-woocommerce' ), 'scheduled' => __( 'Scheduled', 'bidra-auctions-for-woocommerce' ), 'finished' => __( 'Finished', 'bidra-auctions-for-woocommerce' ), 'sold' => __( 'Sold', 'bidra-auctions-for-woocommerce' ), 'failed' => __( 'Failed', 'bidra-auctions-for-woocommerce' ), ) ); -
/** * Filters the marketplace vendor who sells an auction. Marketplace * integrations (Dokan, WCFM Marketplace) return the vendor's user ID. */ apply_filters( 'bafw_auction_vendor_id', 0, $auction_id ); -
/** * Fires when an auction closes with a winner. */ do_action( 'bafw_auction_won', $auction, $winner_id ); -
/** * Filters how many auctions are processed per cron run. */ apply_filters( 'bafw_auctions_per_cron_run', 50 ); -
/** * Filters the auction badge types. */ apply_filters( 'bafw_badge_types', array( 'live' => __( 'Live', 'bidra-auctions-for-woocommerce' ), 'starts_soon' => __( 'Starts soon', 'bidra-auctions-for-woocommerce' ), 'ending_soon' => __( 'Ending soon', 'bidra-auctions-for-woocommerce' ), 'ended' => __( 'Ended', 'bidra-auctions-for-woocommerce' ), 'sold' => __( 'Sold', 'bidra-auctions-for-woocommerce' ), 'no_reserve' => __( 'No reserve', 'bidra-auctions-for-woocommerce' ), ... ); -
/** * Filters the base currency auction amounts are stored in. */ apply_filters( 'bafw_base_currency', get_option( 'woocommerce_currency', 'USD' ) ); -
/** * Filters the `wc_price()` arguments used for base-currency amounts. */ apply_filters( 'bafw_base_price_args', $args ); -
/** * Filters the number of decimals of the base currency. */ apply_filters( 'bafw_base_price_decimals', get_option( 'woocommerce_price_num_decimals', 2 ) ); -
/** * Fires before the auction bid form. */ do_action( 'bafw_before_bid_form', $auction ); -
/** * Fires before a validated bid is stored. */ do_action( 'bafw_before_place_bid', $auction, $amount, $user_id ); -
/** * Filters the error returned for a bid amount that is not acceptable. */ apply_filters( 'bafw_bid_amount_error', $error, $amount, $minimum, $auction ); -
/** * Fires after a bid has been deleted. */ do_action( 'bafw_bid_deleted', $bid_id, $bid ); -
/** * Filters the direction bids move in for an auction. */ apply_filters( 'bafw_bid_direction', 'up', $this ); -
/** * Filters the minimum number of seconds between two bids by the same user. */ apply_filters( 'bafw_bid_flood_interval', 2, $user_id, $auction ); -
/** * Filters the bid increment of an auction. */ apply_filters( 'bafw_bid_increment', $increment, $this ); -
/** * Fires after a bid row has been written to the database. */ do_action( 'bafw_bid_inserted', $bid_id, $data ); -
/** * Fires after a bid has been placed successfully. */ do_action( 'bafw_bid_placed', $bid_id, $auction, $amount, $user_id ); -
/** * Filters where a user stands in an auction. */ apply_filters( 'bafw_bid_status', $status, $auction, $user_id ); -
/** * Filters the bid status labels. */ apply_filters( 'bafw_bid_status_labels', array( 'winning' => __( 'You are winning', 'bidra-auctions-for-woocommerce' ), 'outbid' => __( 'You have been outbid', 'bidra-auctions-for-woocommerce' ), 'won' => __( 'You won', 'bidra-auctions-for-woocommerce' ), 'lost' => __( 'Not won', 'bidra-auctions-for-woocommerce' ), ) ); -
/** * Filters the bidder name shown in the bid history. */ apply_filters( 'bafw_bidder_name', $name, $user_id ); -
/** * Fires when a bidder has been outbid. */ do_action( 'bafw_bidder_outbid', $previous_bidder, $auction, $amount ); -
/** * Filters the price an auction can be bought at instantly. */ apply_filters( 'bafw_buy_now_price', $price, $this ); -
/** * Filters the price an auction is recorded as sold for by an instant purchase. */ apply_filters( 'bafw_buy_now_sale_price', $auction->get_buy_now_price(), $auction, $order, $item ); -
/** * Filters whether a seller may bid on their own auction. */ apply_filters( 'bafw_can_bid_on_own_auction', false, $auction, $user_id ); -
/** * Filters the price an auction is added to the cart with. */ apply_filters( 'bafw_cart_item_price', $price, $auction ); -
/** * Filters the third-party plugin integrations. */ apply_filters( 'bafw_compat_integrations', $integrations ); -
/** * Fires after a third-party plugin integration has been booted. */ do_action( 'bafw_compat_loaded', $folder, self::$loaded[ $folder ] ); -
/** * Filters the auction columns of the product CSV exporter and importer. */ apply_filters( 'bafw_csv_columns', array( 'bafw_item_condition' => __( 'Auction item condition', 'bidra-auctions-for-woocommerce' ), 'bafw_start_price' => __( 'Auction start price', 'bidra-auctions-for-woocommerce' ), 'bafw_bid_increment' => __( 'Auction bid increment', 'bidra-auctions-for-woocommerce' ), 'bafw_reserve_price' => __( 'Auction reserve price', 'bidra-auctions-for-woocommerce' ), 'bafw_buy_now_price' => __( 'Auction... ); -
/** * Filters the exported value of an auction CSV column. */ apply_filters( 'bafw_csv_export_value', $value, $product, $column_id ); -
/** * Fires after the auction columns of an imported row were applied to the * product. */ do_action( 'bafw_csv_import_row', $product, $data ); -
/** * Filters the numbers shown in the Auctions dashboard widget. */ apply_filters( 'bafw_dashboard_counts', $counts ); -
/** * Filters an auction amount for display, converting it from the base currency * to the visitor's currency. Currency switcher integrations hook in here. */ apply_filters( 'bafw_display_amount', (float) $amount, $auction ); -
/** * Filters whether vendors can create and edit auctions in the Dokan dashboard. */ apply_filters( 'bafw_dokan_vendor_auctions_enabled', false ); -
/** * Filters the ending-soon threshold. */ apply_filters( 'bafw_ending_soon_seconds', $seconds ); -
/** * Filters the periods an auction can be extended by from the admin. */ apply_filters( 'bafw_extend_options', array( HOUR_IN_SECONDS => __( '1 hour', 'bidra-auctions-for-woocommerce' ), 6 * HOUR_IN_SECONDS => __( '6 hours', 'bidra-auctions-for-woocommerce' ), DAY_IN_SECONDS => __( '1 day', 'bidra-auctions-for-woocommerce' ), 3 * DAY_IN_SECONDS => __( '3 days', 'bidra-auctions-for-woocommerce' ), WEEK_IN_SECONDS => __( '7 days', 'bidra-auctions-for-woocommerce' ), ) ); -
/** * Filters how many bids are listed in the bid history tab. */ apply_filters( 'bafw_history_limit', 25 ); -
/** * Filters an amount entered by a bidder, converting it from the visitor's * currency to the base currency. Currency switcher integrations hook in here. */ apply_filters( 'bafw_input_amount', (float) $amount, $auction ); -
/** * Fires once the plugin has finished installing or upgrading. */ do_action( 'bafw_installed' ); -
/** * Filters whether a bid amount is acceptable compared with the auction's * threshold. */ apply_filters( 'bafw_is_bid_amount_acceptable', $amount >= $minimum, $amount, $minimum, $auction, $user_id ); -
/** * Filters whether Buy It Now is available for an auction. */ apply_filters( 'bafw_is_buy_now_available', true, $this ); -
/** * Filters whether an auction is purchasable. */ apply_filters( 'bafw_is_purchasable', $purchasable, $this ); -
/** * Filters whether the reserve price of an auction has been met. */ apply_filters( 'bafw_is_reserve_met', $met, $this ); -
/** * Filters whether a user still has to accept the auction terms. */ apply_filters( 'bafw_is_terms_consent_required', $required, $user_id ); -
/** * Filters the list of auction item conditions. */ apply_filters( 'bafw_item_conditions', array( '' => __( 'Not specified', 'bidra-auctions-for-woocommerce' ), 'new' => __( 'New', 'bidra-auctions-for-woocommerce' ), 'used' => __( 'Used', 'bidra-auctions-for-woocommerce' ), ) ); -
/** * Filters the bid that currently leads an auction. */ apply_filters( 'bafw_leading_bid', self::get_highest( $auction_id ), $auction_id ); -
/** * Fires once the plugin has finished loading its classes. */ do_action( 'bafw_loaded', $this ); -
/** * Filters whether a multivendor marketplace integration is active. */ apply_filters( 'bafw_marketplace_active', false ); -
/** * Filters the maximum amount allowed for a single bid. */ apply_filters( 'bafw_max_bid_amount', $amount ); -
/** * Filters the minimum acceptable bid for an auction. */ apply_filters( 'bafw_minimum_bid', $minimum, $this ); -
/** * Fires when an auction starts a new listing. */ do_action( 'bafw_new_listing', $auction, $listing ); -
/** * Filters how often the stale notice state is cleaned up. */ apply_filters( 'bafw_notices_cleanup_interval', 30 * DAY_IN_SECONDS ); -
/** * Filters whether an order settles (links, pays and closes) an auction it * contains. */ apply_filters( 'bafw_order_is_auction_source', true, $order, $auction ); -
/** * Filters the arguments used to format an auction amount. */ apply_filters( 'bafw_price_args', $args, $amount, $convert ); -
/** * Filters the auction price HTML. */ apply_filters( 'bafw_price_html', $price_html, $this ); -
/** * Fires after the auction data of a user has been erased. */ do_action( 'bafw_privacy_erased', $user ); -
/** * Filters the auction data exported for a user. */ apply_filters( 'bafw_privacy_export_data', $data, $user, $page ); -
/** * Fires at the end of the auction product data panel. */ do_action( 'bafw_product_data_panel', $auction ); -
/** * Filters the increment multipliers offered as quick bids. */ apply_filters( 'bafw_quick_bid_multipliers', array( 1, 2, 5 ), $auction ); -
/** * Filters the quick bids offered for an auction. */ apply_filters( 'bafw_quick_bids', array_values( $quick_bids ), $auction ); -
/** * Filters the bid query of the recent bids list. */ apply_filters( 'bafw_recent_bids_query_args', array( 'per_page' => max( 1, absint( $atts['limit'] ) ), 'orderby' => 'date_created', 'order' => 'DESC', ), $atts ); -
/** * Filters how long a restarted auction runs. */ apply_filters( 'bafw_restart_duration', $duration, $auction ); -
/** * Filters the plugin admin screen IDs. */ apply_filters( 'bafw_screen_ids', array( 'woocommerce_page_bafw' ) ); -
/** * Fires after the plugin settings have been saved. */ do_action( 'bafw_settings_saved' ); -
/** * Fires after the setup wizard has run. */ do_action( 'bafw_setup_completed', $result ); -
/** * Filters the query arguments used by the auction shortcodes. */ apply_filters( 'bafw_shortcode_query_args', $args, $atts ); -
/** * Filters the structured data offer of an auction. */ apply_filters( 'bafw_structured_data_offer', $offer, $product ); -
/** * Fires after a user accepted the auction terms. */ do_action( 'bafw_terms_accepted', $user_id ); -
/** * Filters the auction terms page. */ apply_filters( 'bafw_terms_page_id', $page_id ); -
/** * Filters the validation errors for auction settings. */ apply_filters( 'bafw_validate_auction_data', $errors, $data ); -
/** * Filters the result of the bid validation chain. */ apply_filters( 'bafw_validate_bid', true, $auction, $amount, $user_id ); -
/** * Fires after an auction has been added to or removed from a watchlist. */ do_action( 'bafw_watchlist_toggled', $auction->get_id(), $user_id, $watching ); -
/** * Filters whether vendors can create and edit auctions in the WCFM product * manager. */ apply_filters( 'bafw_wcfm_vendor_auctions_enabled', false ); -
/** * This filter is documented in wp-includes/class-wp-http-streams.php */ apply_filters( 'https_local_ssl_verify', false ); -
do_action( 'woocommerce_email_header', $email_heading, $email ); -
apply_filters( 'woocommerce_add_to_cart_form_action', $auction->get_permalink() ); -
do_action( 'woocommerce_after_add_to_cart_button' ); -
do_action( 'woocommerce_before_add_to_cart_button' );
Generated from Bidra Auctions for WooCommerce'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: