wordpress member

That thought is kind of subjective. Dealing with wordpress membership mostly just needs messing with its built-in role and capabilities, unless you really have a complex membership setup which you shouldn’t have use wordpress to begin with. But for a basic membership, a typical set-up involves the following. Create a custom roles and assign specific … Read more

WordPress before save / update member

you can use something like this /** * Get City state from zipcode */ function rtp_get_city_state($location) { $details_url=”http://maps.google.com/maps/api/geocode/json?address=”.$location.’&sensor=false’; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $details_url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $response = json_decode(curl_exec($ch), true); if ($response[‘status’] != ‘OK’) { return null; } print_r($response); }