deprecated_hook_trigger_error WordPress Filter Hook

The deprecated_hook_trigger_error hook is no longer supported in WordPress. This hook was used to trigger an error when a deprecated hook was called.

apply_filters( 'deprecated_hook_trigger_error', bool $trigger ) #

Filters whether to trigger deprecated hook errors.


Parameters

$trigger

(bool)Whether to trigger deprecated hook errors. Requires WP_DEBUG to be defined true.


Top ↑

Source

File: wp-includes/functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More