doing_it_wrong_run WordPress Action Hook
The doing_it_wrong_run hook is used when an infinite loop is detected in a script. It allows for a cleanup function to be run before the script terminates.
do_action( 'doing_it_wrong_run', string $function , string $message , string $version ) #
Fires when the given function is being used incorrectly.
Parameters
- $function
(string)The function that was called.
- $message
(string)A message explaining what has been done incorrectly.
- $version
(string)The version of WordPress where the message was added.
Source
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |