Wishlist Content

In order for you to show your content for both levels you should need to mark the content protection level to be valid for those two levels. For example a post the can be seen by level 1 and level 2 should be marked by those 2 levels. Also you member the that need to … Read more

search does not yield access restricted results

If you setting the posts to private in WordPress, you can add this to your functions.php file: function include_private_in_search( $query ) { // not an admin page and is the main query if (!is_admin() && $query->is_main_query()){ $query->set( ‘post_status’, array ( ‘publish’, ‘private’ ) ); } } add_action( ‘pre_get_posts’, ‘include_private_in_search’ ); Then you can format the … Read more

Paid membership Pro Rest API

First you will need to have the plugin installed (paidmembershipspro ) otherwise you wont be able to call the function “pmpro_getMembershipLevelForUser” and then you just need to copy the code below to your functions.php file which is inside your WordPress theme. /* Call to http://yoursite.com/[email protected]&secret=CHECK to check the membership level of a user. */ function … Read more