[memb_registration_message]
Description
Displays a contextual success or error message from a prior registration submission. This lets the message live anywhere on the redirect page, independent of the form itself.
Behavior:
type="success"ortype="error"restricts output to that type. When empty, the first available message (success or error) is shown.messageoverrides the default human-readable text.css_classwraps output in a<div>with that class.- Inner content, when provided, replaces the default message text (shortcodes inside it are expanded), but only when a matching message token actually exists.
Messages are one-time: the token is consumed on read.
Shortcode Examples
[memb_registration_message]
Success only, custom wrapper:
[memb_registration_message type="success" css_class="alert alert-success"]
Fully custom layout:
[memb_registration_message type="error"]<p class="oops">That didn't work, try again.</p>[/memb_registration_message]
Shortcode Parameters
type
Restrict output to success or error. Default: '' (first
available message).
message
Override the default message text. Default: ''.
css_class
CSS class for a wrapping <div>. Default: ''.
Shortcode Attributes
| Attribute | Value |
|---|---|
| Conditional | No |
| Nestable | No |
| Accepts formatting | No |