wpseek.com
A WordPress-centric search engine for devs and theme authors



pre_auto_update › WordPress Action Hooks

Since4.4.0
Deprecatedn/a
do_action( 'pre_auto_update', $type, $item, $context )
Parameters: (3)
  • (string) $type The type of update being checked: 'core', 'theme', 'plugin', or 'translation'.
    Required: Yes
  • (object) $item The update offer.
    Required: Yes
  • (string) $context The filesystem context (a path) against which filesystem access and status should be checked.
    Required: Yes
Defined at:
Codex:

Fires immediately prior to an auto-update.





Source

do_action( 'pre_auto_update', $type, $item, $context );