On this page
apply_filters( 'deprecated_file_trigger_error', bool $trigger )
Filters whether to trigger an error for deprecated files.
Parameters
$triggerbool-
Whether to trigger the error for deprecated files. Default true.
Source
File: wp-includes/functions.php. View all references
if ( WP_DEBUG && apply_filters( 'deprecated_file_trigger_error', true ) ) {
Related
Used By
| Used By | Description |
|---|---|
| _deprecated_file() wp-includes/functions.php | Marks a file as deprecated and inform when it has been used. |
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/deprecated_file_trigger_error