AQT alloq Tempo 1.0.1 has 23 actions and 111 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.
// Run your own code when AQT alloq Tempo fires an action
add_action( 'alloq_db_before_delete', function( $arg1, $ids ) {
// Your code runs here.
}, 10, 2 );
// Change a value AQT alloq Tempo is about to use
add_filter( 'alloq_cdn_url', function( $value ) {
// Change $value here.
return $value;
}, 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
-
/** * Siehe PostItem::run_batch(). */ do_action( 'alloq_db_before_delete', $this->id(), $ids ); -
/** * CDN-URL für diesen Request (z. B. je Domain verschieden). */ apply_filters( 'alloq_cdn_url', self::sanitize_base( $v['url'] ?? '' ) ); -
/** * Dependency awareness (spec 1.2). @param bool $on */ apply_filters( 'alloq_delay_js_dependency_aware', true ); -
/** * User-Agent für den CSS-Abruf bei Google (bestimmt Format und * Subset-Aufteilung). */ apply_filters( 'alloq_local_fonts_user_agent', self::USER_AGENT ); -
/** * Stamm-URL für lokal erzeugte Schrift-Stylesheets und Schriftdateien * (Standard: die Website oder die CDN-URL). */ apply_filters( 'alloq_local_stylesheet_url', '' !== $root ? $root : $origin ); -
/** * Keep license comments (/*! ... *\/, @license, @preserve) in minified files. */ apply_filters( 'alloq_minify_license_comments', true ); -
/** * Classes that scripts add on interaction and that are always kept. */ apply_filters( 'alloq_rucss_builtin_selectors', self::STATE_CLASSES ); -
/** * Der Sichere Modus wurde ein- oder ausgeschaltet. */ do_action( 'alloq_safe_mode_changed', true, self::$source ); -
/** * After Script Manager rules were saved. */ do_action( 'alloq_sm_rules_saved', $changed ); -
/** * Extra exclusion lines (alloq_minify_js_exclusions / * alloq_minify_css_exclusions), matched against the original tag markup. */ apply_filters( "{self::filter_prefix()}_exclusions", array() ); -
/** * Nach der Aktivierung. */ do_action( 'alloq_activated' ); -
/** * Einträge im Tempo-Menü der Admin-Leiste. */ apply_filters( 'alloq_admin_bar_nodes', $items ); -
/** * Direkt nach dem lokalen Analytics-Code: eigene Zusätze ausgeben (z. B. * gtag('event', ...)). */ do_action( 'alloq_after_local_analytics' ); -
/** * Ist dies eine kritische Seite, auf der Skript-Optimierungen ruhen? */ apply_filters( 'alloq_assets_sensitive_page', $sensitive ); -
/** * Präfixe von Optionsnamen und ihr Besitzer (Plugin oder Theme) für die * Spalte "Herkunft". */ apply_filters( 'alloq_autoload_owners', self::known() ); -
/** * Optionen, deren Autoload nie umgestellt und die nie gelöscht werden. */ apply_filters( 'alloq_autoload_protected_options', $names ); -
/** * Leeres Favicon: eigene Adresse (z. B. data-URI) oder false, um nichts * auszugeben. */ apply_filters( 'alloq_blank_favicon', self::BLANK_ICON ); -
/** * Filter: Optimierungen für diesen Request umgehen. */ apply_filters( 'alloq_bypass', $bypass ); -
/** * Nach dem Leeren eines Cache-Bereichs. */ do_action( 'alloq_cache_cleared', $scope, $files, $bytes ); -
/** * Berechtigung für alle Tempo-Werkzeuge. */ apply_filters( 'alloq_capability', 'manage_options' ); -
/** * CDN-Umschreibung für diesen Request an/aus oder mit abweichenden * Einstellungen (Array mit url, dirs, exclusions, extensions, origins). */ apply_filters( 'alloq_cdn', true ); -
/** * Dateiendungen, die auf das CDN umgeschrieben werden (ohne Punkt). */ apply_filters( 'alloq_cdn_extensions', self::split( $v['extensions'] ?? self::DEFAULT_EXTENSIONS ) ); -
/** * Tempo-Caches leeren. */ do_action( 'alloq_clear_cache', $scope ); -
/** * Ausschlüsse (Teile des Bild-Tags). @param list<string> $lines */ apply_filters( 'alloq_critical_image_exclusions', (array) $this->opt( 'critical_exclusions', array() ) ); -
/** * Eltern-Ausschlüsse (Teile des öffnenden Container-Tags). @param * list<string> $lines */ apply_filters( 'alloq_critical_image_parent_exclusions', (array) $this->opt( 'critical_parent_exclusions', array() ) ); -
/** * Start-Stapelgröße. */ apply_filters( 'alloq_db_batch_size', (int) ( $opts['batch_size'] ?? ( $v['batch_size'] ?? 500 ) ) ); -
/** * Meta-Schlüssel, deren Wiederholungen gewollt sind. */ apply_filters( 'alloq_db_duplicate_meta_exclusions', array() ); -
/** * Bereinigungen der Datenbank-Werkzeuge (id => Alloq\Tempo\Database\Item). * Eigene Einträge werden vor "Tabellen optimieren" ausgeführt. */ apply_filters( 'alloq_db_items', $items ); -
/** * Ein Bereinigungslauf ist beendet (fertig, abgebrochen oder fehlgeschlagen). */ do_action( 'alloq_db_job_finished', $job, $result ); -
/** * Ein Bereinigungslauf wurde gestartet. */ do_action( 'alloq_db_job_started', $job ); -
/** * Tabellen, die optimiert werden dürfen (z. B. Replikations-Setups * ausnehmen). */ apply_filters( 'alloq_db_optimize_tables', $names ); -
/** * Meta-Schlüssel, die nie als verwaist gelten. */ apply_filters( 'alloq_db_orphan_meta_exclusions', array() ); -
/** * Beim Speichern eines neuen Zeitplans sofort einen Lauf starten? */ apply_filters( 'alloq_db_run_on_schedule_save', true ); -
/** * Transient-Namen (Präfixe), die nie gelöscht werden. */ apply_filters( 'alloq_db_transient_exclusions', $protected ); -
/** * Inhaltstypen, deren Papierkorb geleert wird. */ apply_filters( 'alloq_db_trash_post_types', $types ); -
/** * Bei der Deaktivierung (Module können z. B. geplante Aufgaben entfernen). */ do_action( 'alloq_deactivated' ); -
/** * Defer jQuery on this request (only relevant when the option is on). */ apply_filters( 'alloq_defer_jquery', true ); -
/** * Defer JS for the current request. */ apply_filters( 'alloq_defer_js', true ); -
/** * Content-Security-Policy strings to check (header and meta tag values). */ apply_filters( 'alloq_defer_js_csp', $policies ); -
/** * Exclusions of Defer JS. */ apply_filters( 'alloq_defer_js_exclusions', array_values( (array) $this->opt( 'exclusions', array() ) ) ); -
/** * Delay JS for the current request (false switches it off, e.g. for certain * page types). */ apply_filters( 'alloq_delay_js', true ); -
/** * Delay mode for the current request: "specified" or "all". */ apply_filters( 'alloq_delay_js_behavior', (string) $this->opt( 'behavior', 'specified' ) ); -
/** * CSS selector of elements whose clicks are held. */ apply_filters( 'alloq_delay_js_click_selector', self::CLICK_SELECTOR ); -
/** * Hold clicks until the delayed scripts ran and replay them (false = * "Klick-Verzögerung deaktivieren"). */ apply_filters( 'alloq_delay_js_delay_click', ! $this->opt( 'disable_click_delay' ) ); -
/** * Exclusions (mode "all"): user list plus quick exclusions. */ apply_filters( 'alloq_delay_js_exclusions', $list ); -
/** * Tap synthesis for touch devices ("FastClick"). */ apply_filters( 'alloq_delay_js_fastclick', (bool) $this->opt( 'fastclick' ) ); -
/** * Seconds until delayed scripts load without interaction (0 = never). Numeric * strings are accepted. */ apply_filters( 'alloq_delay_js_timeout', $seconds ); -
/** * Merged runtime config just before output (keys: see * Alloq\Tempo\Assets\Runtime). */ apply_filters( 'alloq_delay_runtime_config', $config ); -
/** * Entries of the delay list (mode "specified"). */ apply_filters( 'alloq_delayed_scripts', $list ); -
/** * Darf Tempo auf dieser Seite WooCommerce-Skripte und -Styles entfernen? false * = alles laden. */ apply_filters( 'alloq_disable_woocommerce_scripts', true ); -
/** * Fertige Werte der Link-Header ("<url>; rel=preload; as=image"). Ungültige * Werte werden danach verworfen. */ apply_filters( 'alloq_early_hints', $list ); -
/** * Höchstgröße aller Link-Header in Bytes (512 bis 8192). */ apply_filters( 'alloq_early_hints_max_bytes', LinkHeader::MAX_BYTES ); -
/** * Fetch-Priority-Regeln (Arrays mit selector oder url, priority high|low, * optional parent, device, locations). */ apply_filters( 'alloq_fetch_priority', (array) $this->opt( 'rules', array() ) ); -
/** * Sekunden, die das Erzeugen lokaler Schriften einen Seitenaufruf höchstens * aufhalten darf. */ apply_filters( 'alloq_fonts_time_budget', (float) $this->o['budget'] ); -
/** * DNS-Prefetch-Domains (ohne Protokoll). */ apply_filters( 'alloq_hints_dns_prefetch', (array) $this->opt( 'dns_prefetch', array() ) ); -
/** * Preconnect-Zeilen (Format wie im Feld: "https://host.tld" plus optional " * crossorigin"). */ apply_filters( 'alloq_hints_preconnect', (array) $this->opt( 'preconnect', array() ) ); -
/** * Excluded stylesheets (URL fragments) that are always inlined, whatever their * size. */ apply_filters( 'alloq_inline_stylesheets', array() ); -
/** * Konfiguration des Instant-Page-Skripts (mode, delay, query, external, skip, * prefix). */ apply_filters( 'alloq_instant_page_config', $config ); -
/** * Lazy Loading (Bilder, iFrames, Videos, Hintergründe) für diesen Request * an/aus. */ apply_filters( 'alloq_lazyload', true ); -
/** * Vor der Antwort auf einen gesperrten Aufruf von wp-login.php oder wp-admin. */ do_action( 'alloq_login_blocked', Context::path(), $behavior ); -
/** * Eigene Login-URL für diesen Request verwenden? */ apply_filters( 'alloq_login_url', true ); -
/** * Funktionsnamen im Array _alloq_disable, die das Werkzeug kennt. */ apply_filters( 'alloq_meta_features', PostOptions::features() ); -
/** * A minified copy was written. */ do_action( 'alloq_minified', $type, $path, (string) Cache::path( $file ) ); -
/** * Largest source file in bytes that gets minified (default 1 MB). */ apply_filters( 'alloq_minify_max_bytes', 1048576 ); -
/** * false = always use the minified file, even if it is not smaller. */ apply_filters( 'alloq_minify_threshold', true ); -
/** * Modulliste (id => Klassenname). Erweiterungen können eigene Module * ergänzen; die Klasse muss dann bereits geladen oder über einen eigenen * Autoloader auffindbar sein. */ apply_filters( 'alloq_modules', array( 'overview' => Modules\Overview::class, 'cleanup' => Modules\Cleanup::class, 'hardening' => Modules\Hardening::class, 'comments' => Modules\Comments::class, 'feeds' => Modules\Feeds::class, 'rest' => Modules\Rest::class, 'heartbeat' => Modules\Heartbeat::class, 'woocommerce' => Modules\WooCommerce::class, 'login' => Modules\Login::class, 'blocks' => Modules\Blocks::class, 'delay-js' => Mo... ); -
/** * Filter: Darf Tempo die aktuelle Seite optimieren? */ apply_filters( 'alloq_optimize_allowed', $allowed ); -
/** * Eigene Meta-Schlüssel je Funktion (key => ['label' => ..., 'meta_key' => * ...]). */ apply_filters( 'alloq_post_meta_options', array() ); -
/** * Anzahl kritischer Bilder für diese Seite (0 = aus), z. B. is_page() ? 1 : * 2. */ apply_filters( 'alloq_preload_critical_images', (int) $this->opt( 'critical_images', 0 ) ); -
/** * Breite in px, ab der eine Preload-Zeile als "Desktop" gilt (darunter * "Mobil"). */ apply_filters( 'alloq_preload_mobile_breakpoint', 768 ); -
/** * Manuelle Preload-Zeilen (Arrays mit url und type oder as, optional device, * locations, priority, crossorigin, media). */ apply_filters( 'alloq_preloads', self::active_rows( (array) $this->opt( 'rows', array() ) ) ); -
/** * Preload-Zeilen, die auf dieser Seite gelten (nach Ort gefiltert, * normalisiert). */ apply_filters( 'alloq_preloads_array', $page ); -
/** * Fertige Preload-Hints (rel, href, attrs), bevor sie ins Hint-Register gehen. * Wird bis zu zweimal je Seite aufgerufen: 'early' (Bilder, Schriften ...) und * 'late' (Skripte, Stile, Handles). */ apply_filters( 'alloq_preloads_ready', $hints, $phase ); -
/** * Voreinstellungen anpassen. */ apply_filters( 'alloq_presets', array( 'safe' => array( 'label' => __( 'Safe', 'aqt-alloq-tempo' ), 'help' => __( 'Removes clutter from the page head, throttles the Heartbeat and limits revisions. Does not change how scripts and images are loaded.', 'aqt-alloq-tempo' ), 'entries' => $safe, ), 'balanced' => array( 'label' => __( 'Balanced', 'aqt-alloq-tempo' ), 'help' => __( '"Safe" plus lazy load excluding the first images, i... ); -
/** * Quick exclusion registry (id => [label, detect, delay, rucss_stylesheets, * rucss_selectors]). */ apply_filters( 'alloq_quick_exclusions', $sets ); -
/** * Remove unused CSS on the current page? */ apply_filters( 'alloq_remove_unused_css', true ); -
/** * Ausnahmen der REST-Einschränkung (Routen ohne /wp-json/, z. B. * "contact-form-7"). */ apply_filters( 'alloq_rest_api_exceptions', $list ); -
/** * Antwort auf gesperrte REST-Anfragen. */ apply_filters( 'alloq_rest_denied_error', $error ); -
/** * Excluded stylesheets (URL fragments) that load asynchronously / on * interaction. */ apply_filters( 'alloq_rucss_async_stylesheets', array() ); -
/** * Extra safelisted selectors (substrings of selector text). */ apply_filters( 'alloq_rucss_excluded_selectors', array() ); -
/** * Extra excluded stylesheets (URL fragments). */ apply_filters( 'alloq_rucss_excluded_stylesheets', array() ); -
/** * Also generate and serve used CSS for logged-in users (default: no). */ apply_filters( 'alloq_rucss_logged_in', false ); -
/** * Scope key of the current page (pages sharing a key share one used CSS). * Return '' to skip the page. */ apply_filters( 'alloq_rucss_scope', $key ); -
/** * Export vor dem Herunterladen anpassen. */ apply_filters( 'alloq_settings_export', $export ); -
/** * Importierte Daten anpassen oder ablehnen (WP_Error zurückgeben). */ apply_filters( 'alloq_settings_import', $data ); -
/** * Nach einem Import. */ do_action( 'alloq_settings_imported', $summary ); -
/** * Nach dem Zurücksetzen auf Standardwerte. */ do_action( 'alloq_settings_reset' ); -
/** * Nach dem Speichern der Einstellungen. */ do_action( 'alloq_settings_saved', $saved ); -
/** * Capability required to open and edit the Script Manager. */ apply_filters( 'alloq_sm_capability', 'manage_options' ); -
/** * Adjust the Script Manager context before rules are evaluated. */ apply_filters( 'alloq_sm_context', $ctx ); -
/** * Override the detected post id of the current page. */ apply_filters( 'alloq_sm_current_id', $id ); -
/** * Override the context key of the current page (for example "path:/konto" for * a custom endpoint). */ apply_filters( 'alloq_sm_current_key', (string) $ctx['key'] ); -
/** * Handles the Script Manager never removes. Entries: "js:handle", * "css:handle", "handle" (both types), "prefix*". */ apply_filters( 'alloq_sm_protected_handles', self::$handles ); -
/** * Plugins whose assets group rules never remove. Entries: main file * ("dir/file.php") or directory ("dir"). */ apply_filters( 'alloq_sm_protected_plugins', array() ); -
/** * Final say about removing an asset. */ apply_filters( 'alloq_sm_should_remove', $remove, $type, $key, $ctx ); -
/** * Ausgeschlossene Pfade für Speculation Rules (relativ zur Website). */ apply_filters( 'alloq_speculation_exclusions', $out, $mode ); -
/** * Systeminformationen ergänzen (Abschnitt => [Bezeichnung => Wert]). */ apply_filters( 'alloq_system_info', $sections ); -
/** * Tabs der Einstellungsseite (id => Bezeichnung). Erweiterungen können eigene * Tabs ergänzen. */ apply_filters( 'alloq_tabs', array( 'uebersicht' => __( 'Overview', 'aqt-alloq-tempo' ), 'tools' => __( 'Tools', 'aqt-alloq-tempo' ), 'optionen' => __( 'Options', 'aqt-alloq-tempo' ), 'assets' => __( 'Assets', 'aqt-alloq-tempo' ), 'lazyload' => __( 'Lazy Load', 'aqt-alloq-tempo' ), 'preloading' => __( 'Preloading', 'aqt-alloq-tempo' ), 'schriften' => __( 'Fonts', 'aqt-alloq-tempo' ), 'cdn' => __( 'CDN', 'aqt-alloq-tempo' )... ); -
/** * Module und Erweiterungen können eigene Daten entfernen (je Website). */ do_action( 'alloq_uninstall', get_current_blog_id() ); -
/** * Nach einem Plugin-Update. */ do_action( 'alloq_upgraded', ALLOQ_VERSION ); -
/** * Final used CSS before it goes into the page. */ apply_filters( 'alloq_used_css', $css, $plan['scope'], $this->current_url() ); -
/** * Place the used CSS right before </head> (reference filter * perfmatters_used_css_below). @param bool $below */ apply_filters( 'alloq_used_css_below', false ); -
/** * Used CSS was cleared. */ do_action( 'alloq_used_css_cleared', $scope ); -
/** * URL of the used CSS file of the current page (Early Hints, preload). */ do_action( 'alloq_used_css_file', $plan['file_url'] ); -
/** * Used CSS was generated. */ do_action( 'alloq_used_css_generated', $scope, (string) Cache::path( UsedCss::DIR . '/' . $scope . '.used.css' ), array_intersect_key( $meta, array_flip( array( 'bytes_in', 'bytes_out', 'rules_in', 'rules_out' ) ) ) ); -
/** * Where used CSS goes: "inplace" (inline: before each original stylesheet, * keeps the cascade order), "first" (one block before the first processed * stylesheet), "head_start" or "head_end". */ apply_filters( 'alloq_used_css_position', 'inline' === $method ? 'inplace' : 'first', $method ); -
apply_filters( 'alloq_css_background_selectors', $lines( $this->opt( 'css_bg_selectors', array() ) ) ); -
apply_filters( 'alloq_exclude_leading_images', (int) $this->opt( 'exclude_leading', 0 ) ); -
apply_filters( 'alloq_fade_in_speed', (int) $this->opt( 'fade_in_speed', 500 ) ); -
apply_filters( 'alloq_fonts_max_stylesheets', self::MAX_SHEETS ); -
apply_filters( 'alloq_get_current_id', $id ); -
apply_filters( 'alloq_hints_crossorigin_hosts', Origins::FONT_HOSTS ); -
apply_filters( 'alloq_image_dimensions_exclusions', $lines ); -
apply_filters( 'alloq_lazy_element_selectors', $lines ); -
apply_filters( 'alloq_lazy_elements', true ); -
apply_filters( 'alloq_lazyload_data_src', true ); -
apply_filters( 'alloq_lazyload_excluded_attributes', $lines( $this->opt( 'exclude', array() ) ) ); -
apply_filters( 'alloq_lazyload_forced_attributes', $lines( $this->opt( 'force', array() ) ) ); -
apply_filters( 'alloq_lazyload_noscript', (bool) $this->opt( 'noscript' ) ); -
apply_filters( 'alloq_lazyload_parent_exclusions', $lines( $this->opt( 'exclude_parents', array() ) ) ); -
apply_filters( 'alloq_lazyload_threshold', (string) $this->opt( 'threshold', '0px' ) ); -
apply_filters( 'alloq_lazyload_youtube_autoplay', (bool) $this->opt( 'youtube_autoplay' ) ); -
apply_filters( 'alloq_lazyload_youtube_nocookie', (bool) $this->opt( 'youtube_nocookie' ) ); -
apply_filters( 'alloq_lazyload_youtube_thumbnail_resolution', (string) $this->opt( 'youtube_resolution', 'hqdefault' ) ); -
apply_filters( 'alloq_leading_image_exclusions', $lines( $this->opt( 'leading_exclusions', array() ) ) ); -
apply_filters( 'alloq_leading_image_parent_exclusions', $lines( $this->opt( 'leading_parent_exclusions', array() ) ) ); -
apply_filters( 'alloq_page_builder_params', array( 'elementor-preview', 'elementor_library', 'et_fb', 'et_pb_preview', 'fl_builder', 'fb-edit', 'ct_builder', 'oxygen_iframe', 'breakdance', 'breakdance_iframe', 'bricks', 'brizy-edit', 'brizy-edit-iframe', 'vc_editable', 'vcv-action', 'tve', 'tcbf', 'tatsu', 'siteorigin_panels_live_editor', 'zionbuilder_preview', 'customize_changeset_uuid', 'wp_customize', 'preview', 'PageSpeed', 'amp', 'p... ); -
apply_filters( 'alloq_post_options', array( 'all' => __( 'All Tempo optimizations', 'aqt-alloq-tempo' ), 'lazy' => __( 'Lazy Load', 'aqt-alloq-tempo' ), 'lazy-elements' => __( 'Lazy Elements', 'aqt-alloq-tempo' ), 'dimensions' => __( 'Add missing image dimensions', 'aqt-alloq-tempo' ), 'defer' => __( 'Defer JavaScript', 'aqt-alloq-tempo' ), 'delay' => __( 'Delay JavaScript until interaction', 'aqt-alloq-tempo' ), 'minify-js' => __... ); -
do_action( 'alloq_purge_page_cache' ); -
apply_filters( 'alloq_rucss_delay_stylesheets', array() ); -
apply_filters( 'exit_on_http_head', true ); -
do_action( 'litespeed_control_set_nocache', $reason ); -
apply_filters( 'template_include', '' !== $template ? $template : get_index_template() ); -
do_action( 'template_redirect' );
Generated from AQT alloq Tempo'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: