Skip to main content

Filter: gk/gravityview/deprecated-hook-notices/register

Controls whether a deprecated hook notice should be registered.

When WP_DEBUG is off, this defaults to false so that deprecation warnings are not shown to site administrators who are not developers.

Parameters

NameTypeDescription
$registerboolWhether to register the notice. Default: value of WP_DEBUG.
$hookstringThe deprecated hook name.
$replacementstringThe replacement hook name.
$location_keystringThe source file:line where the callback is defined.

Since

Source

Defined in includes/class-gravityview-deprecated-hook-notices.php at line 315