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



set_screen_option_{$option} › Les Filtres WordPress

Depuis5.4.2
Dépréciéen/a
› apply_filters( "set_screen_option_{$option}", $screen_option, $option, $value )
Paramètres: (3)
  • () screen_option The value to save instead of the option value. Default false (to skip saving the current option).
    Requis: Oui
  • () option The option name.
    Requis: Oui
  • () value The option value.
    Requis: Oui
Voir:
  • set_screen_options()
Défini(e) dans:
Codex:

Filters a screen option value before it is set.

The dynamic portion of the hook name, `$option`, refers to the option name. Returning false from the filter will skip saving the current option.




Source

$value = apply_filters( "set_screen_option_{$option}", $screen_option, $option, $value );