Created
December 2, 2022 18:33
-
-
Save greenhornet79/644e7e6c342bcef31394da8853f6c1da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'leaky_paywall_userdata_before_user_create', 'zeen_lp_use_different_role' ); | |
function zeen_lp_use_different_role( $userdata ) { | |
$userdata['role'] = 'digital_subscriber'; | |
return $userdata; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment