gv_calendar_render()
function gv_calendar_render( $feed_id=0, $view_id=0, string $secret='', $height='' )
Render the gv_calendar shortcode
Since:
1.12.22.0(Added the $height parameter.)
Source: includes/class-calendar-shortcode.php:137
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$feed_id | int | 0 | ID of the feed to render |
$view_id | int | 0 | GravityView View ID |
$secret | string | '' | Feed secret, required when the feed is secured. |
$height | mixed | '' | Height for this embed only (e.g. 400px, 100%, 10vh, auto). Empty means the feed's own Sizing and Height settings decide. |
Returns
string— Shortcode markup