Quantcast
Channel: Broken Email Management | WordPress.org
Viewing all articles
Browse latest Browse all 8

urpluggedin on "[Plugin: Navayan Subscribe] Broken Email Management"

$
0
0

I found a way to fix the issue with the plugin not automatically changing the role to subscriber. In the functions.php file

Replace:

delete_user_meta( $getUser->ID, $wpdb->prefix . 'capabilities' );
update_user_meta( $getUser->ID, $wpdb->prefix . 'capabilities', 'subscriber' );

With:

$getUser->add_role('subscriber');


Viewing all articles
Browse latest Browse all 8

Latest Images

Trending Articles





Latest Images