Find Answers and Get Support › Forums › Gwangi – PRO Multi-Purpose Membership, Social Network & BuddyPress Community Theme › Feature Requests › Non-members register by pmpro plugin › Reply To: Non-members register by pmpro plugin
selv
Participant
- 8 Topics
- 13 Posts
Hi;
Ok ok, I found a temporary solution to hide the free from the unconnected.
My code :
if ( !pmpro_hasMembershipLevel(array(x,x,x)) ) :
function see_bot() {
global $wpdb;
echo ‘<style> div#pmpro_levels_table > div > div:nth-of-type(1) { display: none; } </style>’;
}
add_action( ‘init’, ‘see_bot’ );
endif;
January 30, 2020 at 18:18
#9610