This filter changes the output on the confirmation page without having to templatize it. The filter passes the constructed HTML string with the confirmation message and a second parameter containing the order/invoice object if it is a paid membership.
apply_filters("pmpro_confirmation_message", string $confirmation_message, MemberOrder $pmpro_invoice); |
Parameters
- $confirmation_message
- string
- $pmpro_invoice
- MemberOrder; if this is a paid level, if not this defaults to false
Source
View in Source CodeRelated Articles and Recipes
How to customize the default confirmation message shown to new members. By PMPro Team