Core Function
View Source on Trac ↗ _deprecated_function()
_deprecated_function( mixed $function_name, mixed $version, mixed $replacement = '' ) Marks a function as deprecated and inform when it has been used.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $function_name string | The function that was called. Required |
| $version string | The version of WordPress that deprecated the function. Required |
| $replacement string | Optional. The function that should have been called. Default empty string. |
Return Value
(void)
No return value description available.
Function Information
Since Version
2.5.0
Source File
wp-includes/functions.php
Advertisement