apply_filters( 'deprecated_constructor_trigger_error', bool $trigger )

Filters whether to trigger an error for deprecated functions.


Description Description

WP_DEBUG must be true in addition to the filter evaluating to true.


Parameters Parameters

$trigger

(bool) Whether to trigger the error for deprecated functions. Default true.


Top ↑

Source Source

File: wp-includes/functions.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.