Documentation

Available Hooks: Actions And Filters

Hooks are a great feature of WordPress which allow you to change or add code without editing core files. 

There’s are two types of hook available; actions and filters.

  • Actions
    An action allows you to insert or run code at a specific point.
  • Filters
    A filter allows you to modify the data that is returned in a function or method.

Some of these hooks have additional parameters passed to them which you can use in your own functions. You can find the hook in the reference file to see what is available.

Actions

Hook File
iconic_wds_admin_deliveries_table_body_cell iconic-woo-delivery-slots.php
iconic_wds_admin_deliveries_table_heading iconic-woo-delivery-slots.php
iconic_wds_after_checkout_fields templates/checkout-fields.php
iconic_wds_after_delivery_details_field_wrapper templates/checkout-fields.php
iconic_wds_after_delivery_details_fields templates/checkout-fields.php
iconic_wds_after_delivery_details_title templates/checkout-fields.php
iconic_wds_before_checkout_fields templates/checkout-fields.php
iconic_wds_before_delivery_details_field_wrapper templates/checkout-fields.php

Filters

Hook File
iconic_wds_allowed_days inc/class-date-helpers.php
iconic_wds_asap_label iconic-woo-delivery-slots.php
iconic_wds_available_dates iconic-woo-delivery-slots.php
iconic_wds_checkout_field_data templates/checkout-fields.php
iconic_wds_choose_delivery_date_text inc/class-helpers.php
iconic_wds_choose_time_slot_text inc/class-helpers.php
iconic_wds_chosen_method iconic-woo-delivery-slots.php
iconic_wds_date_display iconic-woo-delivery-slots.php
iconic_wds_delivery_date_text inc/class-helpers.php
iconic_wds_delivery_days inc/class-settings.php
iconic_wds_delivery_days_max_orders inc/class-settings.php
iconic_wds_delivery_details_text inc/class-helpers.php
iconic_wds_delivery_slots_allowed inc/class-checkout.php
iconic_wds_fee iconic-woo-delivery-slots.php
iconic_wds_field_position_choices inc/class-settings.php
iconic_wds_get_cutoff iconic-woo-delivery-slots.php
iconic_wds_get_label_type inc/class-helpers.php
iconic_wds_get_orders_remaining_for_day iconic-woo-delivery-slots.php
iconic_wds_is_day_allowed inc/class-date-helpers.php
iconic_wds_is_delivery_day inc/class-date-helpers.php
iconic_wds_is_holiday inc/class-date-helpers.php
iconic_wds_is_next_day_allowed inc/class-date-helpers.php
iconic_wds_is_same_day_allowed inc/class-date-helpers.php
iconic_wds_is_timeslot_available_on_day iconic-woo-delivery-slots.php
iconic_wds_is_timeslot_in_past iconic-woo-delivery-slots.php
iconic_wds_labels inc/class-helpers.php
iconic_wds_loading_text iconic-woo-delivery-slots.php
iconic_wds_next_day_date inc/class-date-helpers.php
iconic_wds_next_delivery_date inc/class-shortcodes.php
iconic_wds_no_slots_available_text inc/class-helpers.php
iconic_wds_reservations_pre_query inc/class-reservations.php
iconic_wds_reservations_query_result inc/class-reservations.php
iconic_wds_same_day_date inc/class-date-helpers.php
iconic_wds_select_date_first_text inc/class-helpers.php
iconic_wds_select_delivery_date_text inc/class-helpers.php
iconic_wds_select_time_slot_text inc/class-helpers.php
iconic_wds_shipping_method_labels inc/class-settings.php
iconic_wds_shipping_method_options iconic-woo-delivery-slots.php
iconic_wds_shipping_methods inc/class-settings.php
iconic_wds_shortcode_get_order_date inc/class-shortcodes.php
iconic_wds_shortcode_get_order_date_time inc/class-shortcodes.php
iconic_wds_shortcode_get_order_time inc/class-shortcodes.php
iconic_wds_slot_data iconic-woo-delivery-slots.php
iconic_wds_slots_available_count iconic-woo-delivery-slots.php
iconic_wds_slots_available_on_date iconic-woo-delivery-slots.php
iconic_wds_standard_shipping_method iconic-woo-delivery-slots.php
iconic_wds_time_display iconic-woo-delivery-slots.php
iconic_wds_time_slot_text inc/class-helpers.php
iconic_wds_timeslot iconic-woo-delivery-slots.php
iconic_wds_timeslot_shipping_method_allowed iconic-woo-delivery-slots.php
iconic_wds_timeslots iconic-woo-delivery-slots.php
iconic_wds_zone_based_shipping_method iconic-woo-delivery-slots.php

Are you using WooCommerce Delivery Slots yet?

Start your 14-day free trial right now and get instant access to the features described in this article.

or learn more

Was this helpful?

Please let us know if this article was useful. It is the best way to ensure our documentation is as helpful as possible.

WooCommerce Delivery Slots

WooCommerce Delivery Slots

Not got the plugin yet? Get instant access right now, free for 14 days.

or learn more

Still need help?

If you haven't found what you're looking for in our documentation, please contact support.

Get Support