mbcreation

Quick export : change the role of the customers to export.

Sep 22nd, 2014
444
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //this piece of code is to put in the functions.php file in your theme
  2.  
  3. add_filter('wqep_user_role', 'export_custom_user_role');
  4. function export_custom_user_role($role)
  5. {
  6.     //change to the role you want
  7.     return 'subscriber';
  8. }
RAW Paste Data