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
| Name | Type | Description |
|---|---|---|
| $register | bool | Whether to register the notice. Default: value of WP_DEBUG. |
| $hook | string | The deprecated hook name. |
| $replacement | string | The replacement hook name. |
| $location_key | string | The source file:line where the callback is defined. |
Since
Source
Defined in includes/class-gravityview-deprecated-hook-notices.php at line 315