• Hi, I work with the MemberPress team: https://www.memberpress.com/

    I’d like to work with you to get MemberPress integrated. If you have any questions let me know.

    We have the following hooks you can use for tying into our signup and login forms.

    SIGNUP FORM HOOKS
    mepr-checkout-before-submit
    Action hook to display the recaptcha field above the submit button when a user signs up.
    Passes along one argument which is the ID of the membership (you shouldn’t need this var at all)

    The HTML output for the signup form field should look something like:

    <div class="mp-form-row mepr_recaptcha">
            <!-- Recaptcha in here -->
          </div>

    mepr-validate-signup
    Filter hook for validating the POST data.
    Passes along one argument which is an array of errors (strings).
    The filter should always return the original $errors array, plus your errors (if any).

    LOGIN FORM HOOKS
    mepr-login-form-before-submit
    Action hook for displaying your recaptcha field above the submit button on the login forms.
    No arguments

    mepr-validate-login
    Filter hook for validating the POST data.
    Passes along one argument which is an array of errors (strings).
    The filter should always return the original $errors array, plus your errors (if any).

    The HTML output for the login form field should look something like:

    <div class="mp-form-row mepr_recaptcha">
            <!-- Recaptcha in here -->
          </div>

    Looking forward to hearing back from you, thanks!

    Note to anyone reading this, this will only work with MemberPress versions > 1.2.8

    https://ww.wp.xz.cn/plugins/wp-recaptcha-integration/

The topic ‘MemberPress integration’ is closed to new replies.