Description
Filters whether to trigger an error for _doing_it_wrong() calls.
Occurrences
Filename | Line Number |
---|---|
wp-includes/functions.php | 5991 |
Parameters
Type | Name | Description |
---|---|---|
bool | $trigger | Whether to trigger the error for _doing_it_wrong() calls. Default true. |
string | $function_name | The function that was called. |
string | $message | A message explaining what has been done incorrectly. |
string | $version | The version of WordPress where the message was added. |
PHP Doc
/**
* Filters whether to trigger an error for _doing_it_wrong() calls.
*
* @since 3.1.0
* @since 5.1.0 Added the $function_name, $message and $version parameters.
*
* @param bool $trigger Whether to trigger the error for _doing_it_wrong() calls. Default true.
* @param string $function_name The function that was called.
* @param string $message A message explaining what has been done incorrectly.
* @param string $version The version of WordPress where the message was added.
*/