case 'inactive':
$sql = "SELECT distinct user_meta.user_id, start_date, end_date, trial FROM ".$wpdb->prefix."usermeta AS user_meta, "
. $sql_subscr_meta .
" AND user_meta.user_id NOT IN ( SELECT user_id FROM ".$wpdb->prefix."usermeta WHERE meta_key = '_valid_resume_subscription' AND meta_value = '1' OR ( meta_key = '_valid_resume_subscription_order' ) )";
break;
WHERE meta_key = 'wp_capabilities'
AND meta_value LIKE '%job_lister%'
There are currently 1 users browsing this thread. (0 members and 1 guests)