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.


Top ↑

Source

File: wp-includes/functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More