Used By
Used By | Description |
---|---|
wp-includes/functions.php: _doing_it_wrong() | Mark something as being incorrectly called. |
Filters whether to trigger an error for _doing_it_wrong() calls.
(bool) Whether to trigger the error for _doing_it_wrong() calls. Default true.
(string) The function that was called.
(string) A message explaining what has been done incorrectly.
(string) The version of WordPress where the message was added.
Version | Description |
---|---|
5.1.0 | Added the $function, $message and $version parameters. |
3.1.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/doing_it_wrong_trigger_error