On this page
do_action( 'doing_it_wrong_run', string $function, string $message, string $version )
Fires when the given function is being used incorrectly.
Parameters
$functionstring-
The function that was called.
$messagestring-
A message explaining what has been done incorrectly.
$versionstring-
The version of WordPress where the message was added.
Source
File: wp-includes/functions.php. View all references
do_action( 'doing_it_wrong_run', $function, $message, $version );
Related
Used By
| Used By | Description |
|---|---|
| _doing_it_wrong() wp-includes/functions.php | Marks something as being incorrectly called. |
Changelog
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/doing_it_wrong_run