HubSpot All-In-One Marketing 11.3.82 has 5 actions and 22 filters, read directly from its source code on Nov 17, 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 HubSpot All-In-One Marketing fires an action
add_action( 'leadin_activate', function() {
// Your code runs here.
}, 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
-
{LEADIN_PREFIX}_app_prefix
filterapply_filters( "{LEADIN_PREFIX}_app_prefix", 'app' ); -
{LEADIN_PREFIX}_api_prefix
filterapply_filters( "{LEADIN_PREFIX}_api_prefix", 'api' ); -
{LEADIN_PREFIX}_base_api_url
filterapply_filters( "{LEADIN_PREFIX}_base_api_url", "https://$prefix.$domain" ); -
{LEADIN_PREFIX}_base_url
filterapply_filters( "{LEADIN_PREFIX}_base_url", "https://$prefix.$domain" ); -
apply_filters( "{LEADIN_PREFIX}_connect_plugin_capability", 'manage_options' ); -
apply_filters( "{LEADIN_PREFIX}_forms_payload", '' ); -
apply_filters( "{LEADIN_PREFIX}_forms_script_url", "https://$hublet_domain.hsforms.net/forms/embed/v2.js" ); -
apply_filters( "{LEADIN_PREFIX}_forms_v4_payload", '' ); -
apply_filters( "{LEADIN_PREFIX}_forms_v4_script_url", "https://$hublet_domain.hsforms.net/forms/embed/$portal_id.js" ); -
{LEADIN_PREFIX}_hublet
filterapply_filters( "{LEADIN_PREFIX}_hublet", Portal_Options::get_hublet() ); -
apply_filters( "{LEADIN_PREFIX}_hubspot_domain", 'hubspot.com' ); -
{LEADIN_PREFIX}_impact_code
filterapply_filters( "{LEADIN_PREFIX}_impact_code", null ); -
{LEADIN_PREFIX}_js_base_url
filterapply_filters( "{LEADIN_PREFIX}_js_base_url", "https://$prefix.$domain" ); -
{LEADIN_PREFIX}_js_prefix
filterapply_filters( "{LEADIN_PREFIX}_js_prefix", 'js' ); -
apply_filters( "{LEADIN_PREFIX}_meetings_script_url", 'https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js' ); -
apply_filters( "{LEADIN_PREFIX}_page_content_type", $content_type ); -
apply_filters( "{LEADIN_PREFIX}_plugin_mappings_api_url", "$base_url/cos-domains/v1/wp-plugin-mappings/get-all" ); -
{LEADIN_PREFIX}_query_params
filterapply_filters( "{LEADIN_PREFIX}_query_params", '' ); -
apply_filters( "{LEADIN_PREFIX}_script_loader_domain", "$hublet_domain.hs-scripts.com" ); -
apply_filters( "{LEADIN_PREFIX}_signup_base_url", "https://app.$domain" ); -
apply_filters( "{LEADIN_PREFIX}_sites_proxy_cdn", "https://$portal_id.$domain.net" ); -
leadin_activate
actiondo_action( 'leadin_activate' ); -
leadin_redirect
actiondo_action( 'leadin_redirect' ); -
do_action( 'leadin_reset_wp_mappings_cache' ); -
qm/debug
actiondo_action( 'qm/debug', $message ); -
qm/error
actiondo_action( 'qm/error', $message );
Generated from HubSpot All-In-One Marketing's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: