apply_filters( ‘deprecated_argument_trigger_error’, bool $trigger )

In this article

Filters whether to trigger an error for deprecated arguments.

Parameters

$triggerbool
Whether to trigger the error for deprecated arguments. Default true.

Source

if ( WP_DEBUG && apply_filters( 'deprecated_argument_trigger_error', true ) ) {

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

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