WordPress User Post Products

These four requirments comes right of the box with wordpress. You don’t need any extra plugin for that. Any user can register – Go to General settings page and enable Anyone can register option by checking checkbox available next to it. They can post product – Assign them a role of author so that they … Read more

WordPress Phone Verification

Of course this is possible it would just require some custom coding. This is an open ended question so I’ll give you an open ended answer of how I may go about this. Add phone number field to user contact Use the profile_update hook to store a random code associated with that number Create a … Read more

Sort posts in loop by the WooCommerce Membership of the author

I would flag post as member_post when it is submitted to database and use this flag to sort them. function wpse_287048_flag_member_post( $post_id ) { if ( wc_memberships_get_user_active_memberships() !== false ) { // Check if user is member update_post_meta( $post_id, ‘member_post’, 1 ); } else { update_post_meta( $post_id, ‘member_post’, 0 ); } } add_action( ‘save_post’, ‘wpse_287048_flag_member_post’ … Read more