AnalyticsGoogle
4 hooks fired by AnalyticsGoogle: 3 filters and 1 actions across 4 call sites.
4 hooks fired by AnalyticsGoogle: 3 filters and 1 actions across 4 call sites. 2 of the 4 call sites are described by a docblock, at the call or on the constant that names the hook; the rest are listed with their signature and call sites only. Paths are relative to the plugin directory.
xpac_analytics_delivery_blocking
Filter · 2 arguments · 1 call site
Filters whether provider delivery waits for the provider's reply.
Delivery runs on shutdown. Where the client can be released first
— PHP-FPM and LiteSpeed — waiting costs the visitor nothing and is
what makes an expired credential or a retired API version visible at
all. Where it cannot, shutdown still runs before the response is
finished, so waiting would add the delivery timeout to the page
load. Force it on only if you know the request is already
detached from the visitor, such as a cron or WP-CLI run.
apply_filters( 'xpac_analytics_delivery_blocking', Dispatcher::canReleaseClient(), Addon::ID )$blocking(bool) — Whether to wait for the reply.$provider(string) — Provider add-on id.
Fired from:
packages/AnalyticsGoogle/EventProcessor.php:343
xpac_analytics_google_request_args
Filter · 2 arguments · 1 call site
Filters the outbound Google Measurement Protocol request.
apply_filters( 'xpac_analytics_google_request_args', $args, $event )$args(array<string,mixed>) — WordPress HTTP arguments.$event(array<string,mixed>) — Validated event.
Fired from:
packages/AnalyticsGoogle/EventProcessor.php:364
xpac_analytics_provider_dispatched
Action · 3 arguments · 1 call site
do_action( 'xpac_analytics_provider_dispatched', sanitize_key(Addon::ID), $event, $result )Fired from:
packages/AnalyticsGoogle/EventProcessor.php:498
xpac_analytics_remove_data_on_uninstall
Filter · 1 argument · 1 call site
apply_filters( 'xpac_analytics_remove_data_on_uninstall', true )Fired from:
packages/AnalyticsGoogle/Bootstrap.php:147