gravityview_social_get_entry_view()
function gravityview_social_get_entry_view( $view=null )
Get the View on this page that shows the entry in the request.
Runs the checks GravityView runs before it shows a Single Entry, so a page that refuses an entry does not put the entry's field values in its title, meta tags or canonical address.
See Also
gravityview_social_can_render_entry() The per-entry check.gravityview_social_get_title() and gravityview_social_get_permalink(), which keep the page's own values when this returns null.
Since: 3.5.0
Source: sharing-common-functions.php:20
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$view | \GV\View | null | null | The View to check. Default: the View GravityView shows on this page. |
Returns
\GV\View|null— The View when it shows the entry, otherwise null.