Skip to main content

Filter: gk/gravityview/shortcode/is-reembedded

Modifies whether a View rendered by the shortcode counts as embedded inside another View.

A re-embedded View shows only its directory, without widgets. Return false when the page means to show this View in full, for example a single entry opened from the View around it.

Parameters​

NameTypeDescription
$is_reembeddedboolWhether the View is inside another View's page or entry.
$view\GV\ViewThe View being rendered.
$request\GV\RequestThe current request.

Since​

  • TBD: TBD

Source​

Defined in src/Shortcode/GravityViewShortcode.php at line 178