FireBox 3.1.17 has 14 actions and 37 filters, read directly from its source code on Nov 18, 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 FireBox fires an action
add_action( 'firebox/boxes/after_render', function() {
// Your code runs here.
}, 10, 1 );
// Change a value FireBox is about to use
add_filter( 'firebox/box/before_render', function( $box ) {
// Change $box here.
return $box;
}, 10, 1 );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
-
/** * Runs before rendering the box. */ apply_filters( 'firebox/box/before_render', $this->box ); -
/** * Allows a site with a shorter legacy key to keep using it while it rotates. */ apply_filters( 'firebox/api/minimum_key_length', self::MINIMUM_KEY_LENGTH ); -
/** * Runs after rendering the box. */ apply_filters( 'firebox/box/after_render', $html, $payload['box'] ); -
/** * Escape hatch for campaigns whose custom code applies arbitrary * firebox__animate__* classes that we cannot see server-side. */ apply_filters( 'firebox/box/load_full_animations', false ); -
/** * Trigger Open & Close Event. */ do_action( "firebox/box/on_{$event}", $box ); -
/** * Event that runs after popups have been rendered. */ do_action( 'firebox/boxes/after_render' ); -
/** * Event that runs before any rendering of popups. */ do_action( 'firebox/boxes/before_render' ); -
/** * Allows a site to switch off JavaScript expressions entirely, regardless of * who authored the campaign. */ apply_filters( 'firebox/expressions/enabled', true ); -
/** * Allow to hook into the success action and customize it. */ apply_filters( 'firebox/form/submit_action', $action ); -
/** * Fires after a successful form submission. */ do_action( 'firebox/form/success', $box, $values, $submission ); -
/** * Allows a site to relax or tighten who may manage integrations. */ apply_filters( 'firebox/integrations/capability', $capability, $write ); -
/** * Lets a site behind a trusted reverse proxy supply the real client IP. */ apply_filters( 'firebox/rate_limit/client_ip', $ip ); -
/** * Allows a site to tune or switch off throttling for an endpoint. */ apply_filters( 'firebox/rate_limit/limit', $limit, $bucket ); -
/** * The cookie is written by our own JavaScript, which means it is entirely * client-controlled: its contents are a request for us to write analytics * rows, not a fact. Cap how many a single request can ask for so a crafted * cookie cannot insert thousands of rows in one page load. */ apply_filters( 'firebox/track/max_cookie_conversions', 20 ); -
/** * Fires on the admin side when FPFramework is included/loaded. */ do_action( 'fpf_admin_init' ); -
/** * Fires when FPFramework is included/loaded */ do_action( 'fpf_init' ); -
do_action( 'fpframework/admin/notices' ); -
apply_filters( 'firebox/box/edit', $this->box ); -
apply_filters( 'wpml_active_languages', NULL, 'orderby=id&order=desc' ); -
apply_filters( 'firebox/actions/box/edit', $actions ); -
do_action( 'firebox/admin/content' ); -
apply_filters( 'firebox/base_notices', $base_notices ); -
apply_filters( 'firebox/box/close/cookie_set', true, $box_id ); -
apply_filters( 'firebox/customcode/enabled', true ); -
apply_filters( 'firebox/form/actions/email/settings', $email, $this->submission ); -
apply_filters( 'firebox/form/integrations_registry', $registry ); -
apply_filters( 'firebox/form/process', $values, $box, $form_id ); -
apply_filters( 'firebox/forms/import/edit', $settings ); -
apply_filters( 'firebox/forms/settings/edit', $settings ); -
apply_filters( 'firebox/load_notices', true ); -
apply_filters( 'firebox/php/enabled', true ); -
apply_filters( 'firebox/rate_limit/window', $window, $bucket ); -
do_action( 'firebox/settings_page' ); -
apply_filters( 'firebox/track_unpublished', false ); -
do_action( "fpframework_{fpframework()->getPluginPage()}/admin_page" ); -
apply_filters( 'fpframework_blocks_google_font_display_swap', true ); -
apply_filters( 'fpframework/fields/searchdropdown/filter_get_search_items_ids', $ids, $post_id ); -
apply_filters( 'fpframework/filter_admin_js_object', $data ); -
do_action( "fpframework/modal/{esc_attr($id)}/header/before_title" ); -
do_action( "fpframework/modal/{esc_attr($id)}/header/middle" ); -
do_action( "fpframework/modal/{esc_attr($id)}/header/prepend_actions" ); -
apply_filters( 'fpframework/searchdropdown/allowed_plugins', ['fpframework', 'firebox'] ); -
apply_filters( 'fpframework/smarttags/user/allowed_keys', [ 'ID', 'user_login', 'user_nicename', 'user_email', 'user_url', 'user_registered', 'display_name', 'name', 'first_name', 'last_name', 'firstname', 'lastname', 'user_firstname', 'user_lastname', 'nickname', 'description', 'user_description', 'locale', 'roles' ] ); -
apply_filters( 'fpframework/smarttags/value', $value, $smartTag, $shortCodeObject ); -
apply_filters( 'fpframework/trusted_proxies', [] ); -
apply_filters( 'fpframework/utmurl/campaign', $campaign ); -
apply_filters( 'the_content', $this->box->post_content );
Generated from FireBox'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: