wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
pre_option › Hooks de Filtros WordPress
Desde6.1.0
Obsoleton/a
› apply_filters( 'pre_option', $pre, $option, $default_value )
| Parâmetros: (3) |
|
| Definido em: |
|
| Codex: |
Filters the value of any existing option before it is retrieved.
Returning a value other than false from the filter will short-circuit retrieval and return that value instead.Funções relacionadas: get_option, update_option, form_option, get_options, screen_options, add_option