[memb_zoom_meeting]
Description
Renders the Zoom embed container for a torii_zoom_meeting post.
The embed's signature and attendance-tracking nonces are generated at
render time; assets are enqueued automatically.
Access control:
- When the
tagsattribute is provided it takes precedence; otherwise the meeting post's configured access tags apply. - Users holding ANY of the required tags see the embed; everyone else sees the enclosed fallback content (or nothing when the shortcode is empty).
- The final decision passes through the
wpal/torii/zoom/can_accessfilter.
Administrators see configuration error messages (Zoom not configured, meeting number missing); non-admins see a generic unavailable notice or nothing.
The HTML this shortcode renders comes from a template you can override in your theme. See Shortcode Templates.
Shortcode Examples
[memb_zoom_meeting id="123"]Upgrade your membership to join live sessions.[/memb_zoom_meeting]
Custom dimensions and tag override:
[memb_zoom_meeting id="123" tags="456,789" width="800px" height="500px"]
Shortcode Parameters
id
Zoom meeting post ID. Required. Default: ''.
tags
Comma-separated tag IDs overriding the meeting's configured access
tags. Default: ''.
width
Embed width (CSS length). Default: '100%'.
height
Embed height (CSS length). Default: '600px'.
before
Content prepended to the output. Default: ''.
after
Content appended to the output. Default: ''.
Shortcode Attributes
| Attribute | Value |
|---|---|
| Conditional | No |
| Nestable | No |
| Accepts formatting | No |
Hooks
The access decision passes through the
wpal/torii/zoom/can_access filter.