apply_filters( 'deprecated_function_trigger_error', bool $trigger )
Filters whether to trigger an error for deprecated functions.
Parameters
-
$trigger
bool -
Whether to trigger the error for deprecated functions. Default true.
Source
File: wp-includes/functions.php
.
View all references
if ( WP_DEBUG && apply_filters( 'deprecated_function_trigger_error', true ) ) {
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |