class-job-registry.php

Canonical scheduler job ownership declarations.

Source includes/Scheduler/class-job-registry.php2 min readPart of Performance Optimisation

includes/Scheduler/class-job-registry.php

Canonical scheduler job ownership declarations.

Namespace: PerformanceOptimise\\Inc · Lines: 124

Class Job_Registry

Owns the plugin\’s WP-Cron and Action Scheduler hook manifest.

Source: includes/Scheduler/class-job-registry.php, line 23

class Job_Registry

Tags: @since NEXT

Constants

ConstantVisibilityValueLine
CRON_HOOKSpublicarray( \'wppo_page_cron_hook\', \'wppo_page_cron_batch\', \'wppo_generate_static_page\', \'wppo_generate_static_url\', \'wppo_preload_url_batch\', \'wppo_img_conversion\', \'wppo_database_cleanup_cron\', \'wppo_web_vitals_rescan\', \'wppo_llms_txt_daily\', \'wppo_used_css_cron\', \'wppo_ccss_regeneration\', \'wppo_rum_flush\', \'wppo_run_upgrades\', \'wppo_litespeed_crawler_batch\', \'wppo_crawler_warm\', \'wppo_generate_ccss\', \'wppo_object_cache_probe\', )30
CRON_FALLBACK_HOOKSpublicarray( \'wppo_google_fonts_download\', \'wppo_builder_drift_purge\', \'wppo_upgrade_purge\', )56
LEGACY_CRON_HOOKSpublicarray( \'wppo_img_conversation\' )68
AS_HOOKSpublicarray( \'wppo_convert_image_background\', \'wppo_pagespeed_scan\', \'wppo_used_css_generate\', \'wppo_generate_ccss\', \'wppo_litespeed_crawler_batch\', \'wppo_crawler_warm\', \'wppo_google_fonts_download\', \'wppo_builder_drift_purge\', \'wppo_upgrade_purge\', )76
AS_GROUPpublic\'performance_optimisation\'94

publicstatic all_cron_hooks()

public static function all_cron_hooks(): array

Return every owned WP-Cron hook for teardown.

Return: string[].

Tags: @since NEXT

Source: includes/Scheduler/class-job-registry.php, line 102

publicstatic all_action_scheduler_hooks()

public static function all_action_scheduler_hooks(): array

Return every owned Action Scheduler hook for teardown.

Return: string[].

Tags: @since NEXT

Source: includes/Scheduler/class-job-registry.php, line 120