Learn how to set up, customize, and expand the functionality of your WooCommerce products with our library of documentation and tutorials.
  1. Documentation /
  2. Products /
  3. Extensions /
  4. WooCommerce Memberships /
  5. Developer Documentation

Developer Documentation


  • Teams for WooCommerce Memberships Developer Documentation

    This document provides an overview of structure, hooks, and helpful methods in Teams for WooCommerce Memberships. To make adjustments to plugin functionality in an upgrade-safe manner, you should be very familiar with WordPress hooks — actions and filters — as these allow you to make modifications to plugin behavior. Our goal is to ensure this […]

  • WooCommerce Memberships – CLI Reference

    Overview You can manage WooCommerce Memberships plans and members via WP CLI if installed in your environment. There are two additional subcommands added to the WC CLI implementation: user_membership and membership_plan. For further details please see the CLI help topics: wp help wc user_membership and wp help wc membership_plan. All versions can still use our […]

  • WooCommerce Memberships Admin Hook Reference

    For Developers: Admin Hook Reference WooCommerce Memberships is extremely extensible and offers ample actions and filters for developers to customize it as needed. If a hook doesn’t exist where you think it should, please submit a ticket so we can consider its addition. This hook reference includes some of the actions and filters developers may […]

  • WooCommerce Memberships Data Structure

    Overview WooCommerce Memberships is a large and complex plugin, but we’ve built it with the aim of being extensible and developer-friendly. This is an overview of how data is stored in the Memberships plugin, which can be accessed via WordPress core methods, WooCommerce methods, or via methods within the plugin. Our frontend hook reference, admin […]

  • WooCommerce Memberships Frontend Hook Reference

    .gist-it-gist .gist-file .gist-data pre.prettyprint {font-family: ‘Courier’, monospace; font-size: 14px; white-space: nowrap;} .gist-it-gist .gist-file .gist-meta span { font-size: 12px; } dl dt, dl dd { display: inline-block; margin-bottom: 0; } dl dt { width: 15%; vertical-align: top; } dl dd { width: 80%; } pre { background-color: #f3f3f3; } For Developers: Frontend Hook Reference WooCommerce Memberships […]

  • WooCommerce Memberships Function Reference

    For Developers: Checks & Functions WooCommerce Memberships provides several methods for checking data on content restriction and user memberships. This reference includes helpful conditional checks and global functions for Memberships. Conditional checks return bool true or false. For example: if ( wc_memberships_is_product_viewing_restricted() ) { echo ‘MARCO!’; } else { echo ‘POLO!’; } This would check […]

  • WooCommerce Memberships Snippet Samples

    Here are some sample snippets helpful for tweaking the functionality of the WooCommerce Memberships plugin. If you’re looking for more details on modifying Memberships or “For Developers” samples, please view our developer documentation. Member Area Remove Cancel action from My Memberships table The actions in the “My Memberships” table can be removed if you don’t […]


The most customizable ecommerce platform for building your online business.

  • 30-day money-back guarantee
  • Support teams across the world
  • Safe and secure online payment