Filters whether to trigger an error for _doing_it_wrong() calls.
$triggerbool
$function_namestring
$messagestring
$versionstring
if ( WP_DEBUG && apply_filters( 'doing_it_wrong_trigger_error', true, $function_name, $message, $version ) ) {
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/doing_it_wrong_trigger_error