Abogo Booking for WooCommerce icon
Events & Booking

Abogo Booking for WooCommerce hooks reference

Abogo Booking for WooCommerce 1.0.2 has 9 actions and 12 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.

functions.phpyour child theme
// Run your own code when Abogo Booking for WooCommerce fires an action
add_action( 'abfw_bookings_actions', function( $arg1 ) {
	// Your code runs here.
}, 10, 1 );

// Change a value Abogo Booking for WooCommerce is about to use
add_filter( 'abfw_booking_label', function( $value, $abfw_booking ) {
	// Change $value here.
	return $value;
}, 10, 2 );

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

  • src/Admin/views/bookings-calendar.php line 34 · used in 2 places
    /**
     * This action is documented in src/Admin/views/bookings.php
     */
    do_action( 'abfw_bookings_actions', array() );
  • src/Admin/Admin.php line 203 · used in 2 places
    /**
     * This action is documented in src/Admin/Admin.php
     */
    do_action( 'abfw_bookings_shown', $bookings );
  • src/Admin/views/bookings-calendar.php line 114
    /**
     * What a booking of the calendar is called, the name of its product by
     * default.
     */
    apply_filters( 'abfw_booking_label', $abfw_product ? $abfw_product->get_name() : __( 'Booking', 'abogo-booking' ), $abfw_booking );
  • src/Admin/views/bookings-calendar.php line 101
    /**
     * Where a booking of the calendar leads, its order by default.
     */
    apply_filters( 'abfw_booking_url', $abfw_booking->order_id ? admin_url( 'post.php?post=' . (int) $abfw_booking->order_id . '&action=edit' ) : '', $abfw_booking );
  • src/Admin/views/bookings.php line 150
    /**
     * Print where a booking taken without an order comes from.
     */
    do_action( 'abfw_booking_without_order', $abfw_booking );
  • src/Admin/views/bookings.php line 99
    /**
     * Print more fields in the filter of the bookings list.
     */
    do_action( 'abfw_bookings_filter_fields', $filters );
  • src/Admin/Admin.php line 186
    /**
     * What the list of bookings is narrowed to.
     */
    apply_filters( 'abfw_bookings_filters', array( 'status' => $status, 'start' => $arrival, 'end' => $departure, ) );
  • src/Settings.php line 234
    /**
     * A rule read in the type its own code expects, null to leave it to the
     * plugin.
     */
    apply_filters( 'abfw_cast_setting', null, $key, $value );
  • src/Cart/Cart.php line 55
    /**
     * Whether dates the rules allow can still be booked: true, or the reason they
     * cannot.
     */
    apply_filters( 'abfw_check_booking', true, $booking, $product_id, $variation_id, $quantity );
  • src/Frontend/ProductForm.php line 145
    /**
     * Fires inside the date fields of a product, so an extension can add to them.
     */
    do_action( 'abfw_form_fields', $product );
  • src/Admin/Admin.php line 251
    /**
     * Tabs shown locked, with what each would offer, while the paid version is not
     * active.
     */
    apply_filters( 'abfw_locked_tabs', array() );
  • src/Admin/Admin.php line 426
    /**
     * Whether a booking may be moved to a status by hand: true, or the reason it
     * cannot.
     */
    apply_filters( 'abfw_move_booking', true, Repository::find( $booking_id ), $status );
  • src/Admin/ProductPanel.php line 104
    /**
     * Fires at the end of the Booking tab of a product, so an extension can add
     * its rules.
     */
    do_action( 'abfw_product_panel', $product_id );
  • src/Settings.php line 59
    /**
     * The shop-wide rules and their defaults.
     */
    apply_filters( 'abfw_settings_defaults', array( 'all_bookable' => 'no', 'dates' => 'two', 'mode' => 'nights', 'duration' => 1, 'min' => 0, 'max' => 0, 'first' => 0, 'last' => 365, 'display' => 'open', 'background' => '#ffffff', 'accent' => '#1d2327', 'text' => '#3c434a', 'set_start' => 'automatic', 'keep_start' => 1, 'set_processing' => 'automatic', 'set_end' => 'automatic', 'keep_end' => 1, 'set_completed' => 'manual', 'remove_data' ... );
  • src/Settings.php line 158
    /**
     * The rules each tab of the settings screen carries.
     */
    apply_filters( 'abfw_settings_groups', self::GROUPS );
  • src/Admin/views/settings.php line 210
    /**
     * Fires inside the settings form, so a tab added by an extension can print its
     * rules.
     */
    do_action( 'abfw_settings_tab', $tab, $rules );
  • src/Admin/Admin.php line 236
    /**
     * The tabs of the settings screen.
     */
    apply_filters( 'abfw_settings_tabs', array( 'general' => __( 'General', 'abogo-booking' ), 'calendar' => __( 'Calendar', 'abogo-booking' ), 'life' => __( 'Booking life', 'abogo-booking' ), ) );
  • src/Cart/Cart.php line 127
    /**
     * The price of the whole stay, once the price of a night or day is multiplied.
     */
    apply_filters( 'abfw_stay_price', $unit * (int) $item['abfw']['units'], $unit, $item, $sold );
  • src/Cart/Cart.php line 150
    /**
     * The price of one night or one day, before it is multiplied.
     */
    apply_filters( 'abfw_unit_price', (float) $sold->get_price( 'edit' ), $item, $sold );
  • src/Admin/VariationPanel.php line 114
    /**
     * Fires at the end of the booking rules of a variation, so an extension can
     * add its own.
     */
    do_action( 'abfw_variation_panel', $loop, $variation );
  • abfw.php line 111
    do_action( 'abfw_fs_loaded' );

Generated from Abogo Booking 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.

Plugin 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 this

Not 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: