ibm-watson-data-lab / dW

Source files for http://developer.ibm.com/clouddataservices
2 stars 2 forks source link

Use metadata instead of Admin permissions to identify dev advocates #150

Closed jessmantaro closed 8 years ago

vabarbosa commented 8 years ago

change has been made. a new field, "Developer Advocate" has been added to the user profile edit page. enable this field for users who are developer advocates and should be listed in under the Developer Advocacy list on the site.

fyi, in wordpress to query against this "Developer Advocate" metadata use:

$args = array(
  'meta_query' => array(
    array(
      'key' => 'is_dev_advo',
      'value' => 'on'
    )
  )
);
$devadvos = new WP_User_Query($args);