WPDev.one
Core Function
View Source on Trac ↗

_deprecated_argument()

_deprecated_argument( mixed $function_name, mixed $version, mixed $message = '' )

Marks a function argument 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 argument used.

Required
$message
string

Optional. A message regarding the change. Default empty string.

Return Value

(void)
No return value description available.

Function Information

Since Version
3.0.0
Source File
wp-includes/functions.php
Advertisement