Filter: gk/gravityview/deprecated-hook-notices/is-internal
Overrides whether a callback is treated as internal (from a GK product).
Returning false forces the callback to be treated as external, which means deprecation notices will be shown. This is useful for development and debugging. Example usage: add_filter( 'gk/gravityview/deprecated-hook-notices/is-internal', '__return_false' );
Parameters
| Name | Type | Description |
|---|---|---|
| $is_internal | bool | Whether the callback is internal. Default: result of directory check. |
| $file | string | The absolute file path of the callback. |
Since
- TBD: TBD
Source
Defined in includes/class-gravityview-deprecated-hook-notices.php at line 481