Skip to main content

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

NameTypeDescription
$is_internalboolWhether the callback is internal. Default: result of directory check.
$filestringThe absolute file path of the callback.

Since

  • TBD: TBD

Source

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