do_action( “update-core-custom_{$action}” )

In this article

Fires for each custom update action on the WordPress Updates screen.

Description

The dynamic portion of the hook name, $action, refers to the passed update action. The hook fires in lieu of all available default update actions.

Source

do_action( "update-core-custom_{$action}" );  // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores

Changelog

VersionDescription
3.2.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.