[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" or type="error" restricts output to that type. When empty, the first available message (success or error) is shown.
  • message overrides the default human-readable text.
  • css_class wraps 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