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



pre_update_site_option_{$option} › Les Filtres WordPress

Depuis4.7.0
Dépréciéen/a
› apply_filters( "pre_update_site_option_{$option}", $value, $old_value, $option, $network_id )
Paramètres: (4)
  • () value New value of the network option.
    Requis: Oui
  • () old_value Old value of the network option.
    Requis: Oui
  • () option Option name.
    Requis: Oui
  • () network_id ID of the network.
    Requis: Oui
Défini(e) dans:
Codex:

Filters a specific network option before its value is updated.

The dynamic portion of the hook name, `$option`, refers to the option name.




Source

$value = apply_filters( "pre_update_site_option_{$option}", $value, $old_value, $option, $network_id );