PriMoThemes — now s2Member® (official notice)
This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™
<?php
$user = wp_get_current_user();
$user->add_cap("access_s2member_ccap_music");
?>
add_action("gform_user_registered", "add_custom_user_meta", 10, 3);
function add_custom_user_meta($user_id, $config, $entry) {
wp_set_current_user( $user_id );
$user = wp_get_current_user();
$user->add_cap("access_s2member_ccap_music");
}
Users browsing this forum: Google [Bot] and 2 guests