WP Manifestindependent plugin directory
manifest / users / member-zone

Member Zone

A comprehensive membership plugin with customizable dashboard and payment integration

by Muh Faris · github.com/muhfaris/member-zone

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/muhfaris/member-zone/archive/refs/heads/master.zip

Screenshot

Settings

image

Membership

image

Member list

image

Custom hooks registration

// Add content before the registration form
add_action('memberzone_before_registration_form', function() {
    echo '<p class="memberzone-form-intro">' . esc_html__('Please fill out the form below to register.', 'memberzone') . '</p>';
});

// Add a custom field after the username field
add_action('memberzone_after_username_field', function() {
    echo '<div class="memberzone-field-group">';
    echo '<input type="text" name="first_name" placeholder="' . esc_attr__('First Name', 'memberzone') . '" class="memberzone-input memberzone-first-name">';
    echo '</div>';
});

// Add content after the registration form
add_action('memberzone_after_registration_form', function() {
    echo '<p class="memberzone-form-footer">' . esc_html__('Thank you for registering!', 'memberzone') . '</p>';
});

Add filter and action registration


add_filter('memberzone_registration_username', function($username) {
    return strtoupper($username); // Example: Convert username to uppercase
});

add_action('memberzone_after_user_registration', function($user_id, $membership_level) {
    // Custom code, like sending a welcome email
    wp_mail(get_userdata($user_id)->user_email, 'Welcome!', 'Thank you for registering.');
}, 10, 2);