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

File: wp-includes/functions.php

View on Trac

Changelog

Version Description
3.1.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/doing_it_wrong_run