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



deactivated_plugin › Les Actions WordPress

Depuis2.9.0
Dépréciéen/a
› do_action( 'deactivated_plugin', $plugin, $network_deactivating )
Paramètres: (2)
  • () plugin Path to the plugin file relative to the plugins directory.
    Requis: Oui
  • () network_deactivating Whether the plugin is deactivated for all sites in the network or just the current site. Multisite only. Default false.
    Requis: Oui
Défini(e) dans:
Codex:

Fires after a plugin is deactivated.

If a plugin is silently deactivated (such as during an update), this hook does not fire.




Source

do_action( 'deactivated_plugin', $plugin, $network_deactivating );