wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



pre_update_site_option_{$option} › Filtr WordPress Hooks

Od4.7.0
Przestarzałyn/a
apply_filters( "pre_update_site_option_{$option}", $value, $old_value, $option, $network_id )
Parametry: (4)
  • (mixed) $value New value of the network option.
    Wymagane: Tak
  • (mixed) $old_value Old value of the network option.
    Wymagane: Tak
  • (string) $option Option name.
    Wymagane: Tak
  • (int) $network_id ID of the network.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters a specific network option before its value is updated.

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





Źródło

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