Filters whether to trigger an error for deprecated files.
Parameters
$trigger
bool- Whether to trigger the error for deprecated files. Default true.
Source
if ( WP_DEBUG && apply_filters( 'deprecated_file_trigger_error', true ) ) {
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.