调用已弃用的函数时触发。
原型
do_action( 'deprecated_function_run', string $function, string $replacement, string $version )
参数
$function
(string)
被调用的函数。
$replacement
(string)
应该调用的函数。
$version
(string)
弃用该函数的WordPress版本。
源文件
路径:wp-includes/functions.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/deprecated_function_run/