All features

Cherry Blossom feature

Updates: Update Checker

Configures the parent-theme package update checker.

Configures the parent-theme package update checker.

Capabilities and extension points

Connects the parent theme to its update metadata service.

Default update metadata endpoint.

  • var string

Plugin Update Checker instance.

  • var object|null

Identifies why update discovery is unavailable.

  • var string

Initializes parent-theme update discovery.

This runs during normal bootstrap instead of an admin-only hook so cron, WP-CLI, and WordPress update tooling can discover the parent update.

  • return object|null Plugin Update Checker instance when available.

Removes a wordpress.org update when the custom checker is unavailable.

  • param mixed $transient Theme update transient.
  • return mixed Filtered transient.

Displays an update-discovery failure to administrators.

Gets the initialized update checker.

  • return object|null Plugin Update Checker instance.

Source reference

This editable reference page is based on the PHP documentation in updates/class-update-checker.php.