Uma área de pesquisa sobre o WordPress para devs e autores do tema



deprecated_function_run ›

Desde2.5.0
Obsoleton/a
do_action( 'deprecated_function_run', $function, $replacement, $version )
Parâmetros: (3)
  • (string) $function The function that was called.
    Required: Yes
  • (string) $replacement The function that should have been called.
    Required: Yes
  • (string) $version The version of WordPress that deprecated the function.
    Required: Yes
Definido em:
Codex:

Fires when a deprecated function is called.





Fonte

do_action( 'deprecated_function_run', $function, $replacement, $version );