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