Outil de recherche WordPress pour les développeurs et auteurs de thèmes



update-custom_{$action} ›

Depuis2.8.0
Dépréciéen/a
do_action( "update-custom_{$action}" )
Défini(e) dans:
Codex:

Fires when a custom plugin or theme update request is received.

The dynamic portion of the hook name, $action, refers to the action provided in the request for wp-admin/update.php. Can be used to provide custom update functionality for themes and plugins.





Source

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