• Log In
  • Welcome
  • Features
  • Pricing
  • Documentation
  • Add Ons
  • Payment Gateways
  • Showcase
  • Plugin Demo
  • Support
  • Blog
  • Contact

Log In


Join Now | Lost Password?

Skip to content

Paid Memberships Pro

WordPress Membership Plugin
  • Log In
  • Register
  • Features
    • Plugin Overview
    • PMPro Reviews
    • Screenshots
    • Demo
    • About
  • Pricing
  • Docs
    • Download & Install
    • Initial Setup
    • Membership Levels
    • Payment Gateways
    • Blocks and Shortcodes
    • Content Controls
    • Customizing Emails
    • Languages
    • Discount Codes
    • Caching
    • Action & Filter Hooks
    • Step-by-Step Guides
    • View All Docs
  • Add Ons
  • Themes
  • Gateways
    • PayPal
    • Stripe
    • Authorize.Net
    • Braintree
    • 2Checkout
    • CyberSource
    • Add a New Gateway
  • Support
  • Videos
  • Showcase
    • Member Stories
    • Sites
    • Testimonials
    • Reviews
  • Blog
Home  /  Blog  /  Insert a “Renew Membership” button via custom shortcode to display a renewal link/button for members.

Insert a “Renew Membership” button via custom shortcode to display a renewal link/button for members.

Posted in Plus and Unlimited Member Content, Recipes

The code recipe below to creates a renewal button shortcode [pmpro_renew_button] that can be used to insert a “Renew Membership” button on your WordPress site.

Insert a “Renew Membership” button via custom shortcode

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Tagged css, current_user, custom, pmpro_getMembershipLevelForUser, renew, renewal, shortcode. Bookmark the permalink. Last updated: November 8, 2018.

Post navigation

← How to enhance the appearance of your Membership Checkout page by level using CSS.
New Support Ticketing System →

Subscribe now for content that helps you design, grow, and optimize your membership site.
We send 1-2 emails per week.

Log In


Join Now | Lost Password?

Categories

  • About PMPro (204)
  • Action and Filter Hooks (7)
  • Add Ons (153)
  • Business (68)
  • FAQ (83)
  • Marketing (10)
  • Member Experience (18)
  • Memberlite (26)
  • News (18)
  • PayPal (11)
  • Plus and Unlimited Member Content (205)
  • Recipes (308)
  • Release Notes (173)
  • Showcase (14)
  • Tools (2)
  • Troubleshooting (43)
  • Videos (19)

100,000+ sites use Paid Memberships Pro to #GETPAID

Select a membership to get started.

Free Signup
Plus: $297
Unlimited: $597

We’re 100% GPL

Our plugin's code is not obfuscated, runs on as many sites as you want and can be customized to fit your project's needs. We just ask that you follow the GPLv2 guidelines by applying the GPLv2 license to any altered or unaltered version of PMPro that you distribute. License Details »

GPL v2

Recent Posts

  • Add On Updates for Paid Memberships Pro
    Add On Updates for April 2021
  • customizing the default membership directory sort order
    Customizing the Default Member Directory Sort Order
  • Kimberly Coleman
    Creating a Subscription-Based Website: How Fleischer Tour Fit Leveraged PMPro

Platform

  • Pricing
  • Features
  • Screenshots
  • Videos
  • Compatibility

Add Ons

  • Free
  • Plus
  • User
  • Integration
  • View All

Get Help

  • Open a Support Ticket
  • Documentation
  • Developers
  • Blog
  • Contact Us

Company

  • About Us
  • Work with Us
  • Brand Assets
  • Affiliates
  • Privacy Policy
Follow Us On

© 2021 Paid Memberships Pro. All Rights Reserved.

Back to Top