Learn how to set up, customize, and expand the functionality of your WooCommerce products with our library of documentation and tutorials.

Developer Documentation


Documents

  • 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

    For Developers: Frontend 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 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 […]

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.