daily pastebin goal
52%
SHARE
TWEET

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

mbcreation Sep 22nd, 2014 356 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top