How $_GET[‘updated’] variable is passed when updating a user?

I have found a javascript solution. Here is the code: member.js (needs jQuery) $jq = jQuery.noConflict(); $jq(document).ready(function () { redirect_on_save_func(); }); function redirect_on_save_func() { var qvars = get_query_func(); var nq = []; $jq.each(qvars, function (vk, vv) { if (vk.match(‘meta_warning*’) == null) nq.push(vk + ‘=’ + encodeURIComponent(vv)); }); var hr = window.location.href; var nqs = hr.split(‘?’)[0] … Read more

User query – getting values for custom meta keys/fields

SOLVED. I missed ID field in field array. $args = array( ‘role’ => ‘author’, ‘order’ => ‘DESC’, ‘orderby’ => ‘post_count’, ‘meta_query’ => array( ‘relation’ => ‘OR’, array( ‘key’ => ‘medical_diagnosis’, ‘compare’ => ‘EXISTS’, ), array( ‘key’ =’gender’, ‘compare’ => ‘EXISTS’, ), ), ‘who’ => ‘authors’, ‘count_total’ => true, ‘fields’ => array( ‘ID’, ‘user_email’, ‘display_name’), ); … Read more