{"id":192038,"date":"2024-05-09T20:27:06","date_gmt":"2024-05-09T20:27:06","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/member-status-api-for-memberpress\/"},"modified":"2025-09-26T10:47:39","modified_gmt":"2025-09-26T10:47:39","slug":"member-status-for-memberpress","status":"closed","type":"plugin","link":"https:\/\/am.wordpress.org\/plugins\/member-status-for-memberpress\/","author":22027122,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"!!VERSION!!","stable_tag":"1.2.3","tested":"6.8.5","requires":"4.7","requires_php":"7.0","requires_plugins":null,"header_name":"Member status API for MemberPress","header_author":"Nakko","header_description":"This plugin extends the WordPress REST API with MemberPress membership and product data.","assets_banners_color":"","last_updated":"2025-09-26 10:47:39","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.nakko.com\/plugins?plugin=mp-member-status","header_author_uri":"https:\/\/www.nakko.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1194,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":{"1.1.3":{"tag":"1.1.3","author":"nakkowp","date":"2024-05-09 21:12:38"},"1.2.1":{"tag":"1.2.1","author":"nakkowp","date":"2025-01-30 15:08:28"},"1.2.1-1":{"tag":"1.2.1-1","author":"nakkowp","date":"2025-01-30 15:08:28"},"1.2.2":{"tag":"1.2.2","author":"nakkowp","date":"2025-01-30 15:08:28"},"1.2.3":{"tag":"1.2.3","author":"nakkowp","date":"2025-09-26 10:47:39"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3084205,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3084205,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":3084205,"resolution":false,"location":"assets","locale":false}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.3","1.2.1","1.2.1-1","1.2.2","1.2.3"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1556,15170,227570,2299,227571],"plugin_category":[],"plugin_contributors":[227573,227572],"plugin_business_model":[],"class_list":["post-192038","plugin","type-plugin","status-closed","hentry","plugin_tags-api","plugin_tags-memberpress","plugin_tags-recipemaker","plugin_tags-rest","plugin_tags-wprm","plugin_contributors-j3roen","plugin_contributors-nakkowp","plugin_committers-nakkowp"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/member-status-for-memberpress\/assets\/icon.svg?rev=3084205","icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/member-status-for-memberpress.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin allows the MemberPress membership status of the current authenticated user to be exposed via the Wordpress REST API:<\/p>\n\n<p>GET \/wp-json\/mp-member-status\/v1\/me<\/p>\n\n<p>Example response:<\/p>\n\n<pre><code>{\n  \"user_id\": 2,\n  \"full_name\": \"John Doe\",\n  \"is_active\": true,\n  \"enabled_products\": [\n    {\n      \"id\": 10,\n      \"title\": \"Premium Membership\",\n      \"name\": \"premium-membership\",\n      \"url\": \"https:\/\/example.com\/register\/premium-membership\/\",\n    }\n  ]\n}\n<\/code><\/pre>\n\n<p>Additionally, MemberPress access information is added to all post endpoints, the post content or access itself is not modified by this plugin:<\/p>\n\n<p>Example post response excerpt:<\/p>\n\n<pre><code>memberpress: {\n               \"is_locked\": true,\n               \"products\": [\n                 {\n                   \"id\": 10,\n                   \"title\": \"Premium Membership\",\n                   \"name\": \"premium-membership\",\n                   \"url\": \"https:\/\/example.com\/register\/premium-membership\/\",\n                   \"can_you_buy_me\": true,\n                   \"is_subscribed\": false\n                 }\n               ]\n},\n<\/code><\/pre>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Creates a REST API endpoint to fetch the MemberPress membership status of the current user.<\/li>\n<li>Allows to list the active products for the current user.<\/li>\n<li>Adds the Memberpress \"is_locked\" status field to all available post types in the REST API<\/li>\n<li>Adds a list of possible Memberpress Products required to unlock posts.<\/li>\n<li>Support for WordPress Recipe Maker's and MemberPress rules set for the parent Post.<\/li>\n<\/ul>\n\n<h3>1.2.3 - 2025-09-26<\/h3>\n\n<h3>Changed<\/h3>\n\n<ul>\n<li>Bump wordpress version<\/li>\n<li>Remove member-press user role restriction<\/li>\n<\/ul>\n\n<h3>1.2.2 - 2025-01-30<\/h3>\n\n<h3>Fixed<\/h3>\n\n<ul>\n<li>missing files<\/li>\n<\/ul>\n\n<h3>1.2.1 - 2025-01-30<\/h3>\n\n<h3>Added<\/h3>\n\n<ul>\n<li>Split object cache durations for generic objects and user specific objects<\/li>\n<li>Make object cache durations configurable in options.php<\/li>\n<\/ul>\n\n<h3>1.2.0 - 2024-06-04<\/h3>\n\n<h3>Added<\/h3>\n\n<ul>\n<li>MemberPress plugin dependency<\/li>\n<li>Active rules for the current user to the \/me endpoint<\/li>\n<li>Product group reference to each product<\/li>\n<\/ul>\n\n<h3>1.1.3 - 2024-05-02<\/h3>\n\n<h3>Changed<\/h3>\n\n<ul>\n<li>Refactor all namespaces and filename prefixes<\/li>\n<\/ul>\n\n<p><em>Read changelog.md for more<\/em><\/p>\n\n<!--section=installation-->\n<p>Install the Member status API for MemberPress plugin and activate it. No further configuration is necessary.<\/p>","raw_excerpt":"This plugin extends the WordPress REST API with MemberPress membership and product data within the current user context.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/192038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=192038"}],"author":[{"embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/nakkowp"}],"wp:attachment":[{"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=192038"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=192038"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=192038"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=192038"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=192038"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=192038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}