• Skip to primary navigation
  • Skip to main content

RocketGeek

Home of WP-Members, The Original WordPress Membership Plugin

  • WordPress Plugins
    • WP-Members
      • FAQs
      • Quick Start
      • Documentation
      • Extensions
    • Advanced Options
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Download Protect
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Invite Codes
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • MailChimp Integration
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • PayPal Subscriptions
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Salesforce Web-to-Lead
    • Security
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Text Editor
      • Purchase the Plugin
      • Get the Pro Bundle
    • User List
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • User Tracking
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Memberships for WooCommerce
    • WordPass
  • Blog
    • Basics
    • Tips and Tricks
    • Filters
    • Actions
    • Code Snippets
    • Shortcodes
    • Design
    • Release Announcements
  • Store
    • Cart
    • Checkout
  • Contact
  • Log In
  • Show Search
Hide Search
Home » Search for "short code"

Search Results for: short code

wpmem_loginout()

Description

This function creates a login/logout link.

This function is used by the [wpmem_loginout] shortcode.

Parameters

$args
(aray) (optional) Arguments to customize output.

$echo
(boolean) (optional) Determines whether output is echoed or not. Default: false.

Return Value

string The HTML of the login/logout link.

Usage

Notes

A login page location must be set in the plugin’s main options tab.

Changelog

Introduced in version 3.1.6

Source

wpmem_loginout() is located in /inc/utilities/php.

WP-Members 3.1.6

Chad Butler · Oct 18, 2016 ·

This article is provided free. Find out how you can get full access to premium content, including how-to articles and support forums, as well as priority email support and member exclusive plugin extensions..

 

WP-Members 3.1.6 has quite a few updates, some fixes, and some new features.  There are some new API functions, some new action hooks, and a lot of code improvements.  Continue Reading →

WP-Members 3.1.5 Release

Chad Butler · Sep 19, 2016 ·

This article is provided free. Find out how you can get full access to premium content, including how-to articles and support forums, as well as priority email support and member exclusive plugin extensions..

 

WP-Members 3.1.5 is both a security and a feature release.  Minimum WP version is 3.6.0.  Continue Reading →

WP-Members 3.1.4 Released

Chad Butler · Aug 23, 2016 ·

This article is provided free. Find out how you can get full access to premium content, including how-to articles and support forums, as well as priority email support and member exclusive plugin extensions..

 

WP-Members 3.1.4 is primarily a new feature release with a couple of fixes.  Additionally, I spent some time going through the code for some general cleanup of @todo tags as well as some inline documentation updates.  Continue Reading →

Registration Form

Display

This form will display in place of blocked content if enabled for that post type in the plugin’s main options.

This form can be displayed directly using the shortcode [wpmem_form register]

HTML

The following is the default generated HTML for the registration form. All of this can be changed by the use of filters in the functions used to create the form.

<div id="wpmem_reg"><a name="register"></a>
  <form name="form" method="post" action="http://example.com/register-page/" id="" class="form">
    <fieldset>
      <legend>New User Registration</legend>
      <label for="user_login" class="text">Choose a Username<span class="req">*</span></label>
      <div class="div_text">
        <input name="user_login" type="text" id="user_login" value="" class="textbox" required="">
      </div>
      <label for="first_name" class="text">First Name<span class="req">*</span></label>
      <div class="div_text">
        <input name="first_name" type="text" id="first_name" value="" class="textbox" required="">
      </div>
      <label for="last_name" class="text">Last Name<span class="req">*</span></label>
      <div class="div_text">
        <input name="last_name" type="text" id="last_name" value="" class="textbox" required="">
      </div>

      <!-- other custom fields removed for brevity -->

      <label for="user_email" class="text">Email<span class="req">*</span></label>
      <div class="div_text">
        <input name="user_email" type="email" id="user_email" value="" class="textbox" required="">
      </div>
      <input name="a" type="hidden" value="register">
      <input name="wpmem_reg_page" type="hidden" value="http://example.com/page-user-is-on/">
      <div class="button_div">
        <input name="submit" type="submit" value="Register" class="buttons">
      </div>
      <div class="req-text"><span class="req">*</span>Required field</div>
    </fieldset>
  </form>
</div>

Filters

Text and HTML in the login form can be changed by various filters that run during the process of building the form.

Functions

 
  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 28
  • Page 29
  • Page 30
  • Page 31
  • Page 32
  • Interim pages omitted …
  • Page 52
  • Go to Next Page »

Ready to get started?

Join Today!

© 2025 · butlerblog.com · RocketGeek is built using WordPress, WP-Members, and the Genesis Framework

  • butlerblog.com
  • WP-Members Support Subscription
  • Terms of Service
  • Privacy Policy
  • Refund Policy