Ledger Nano X - The secure hardware wallet

RSS per Owner

eventsmanager May 20th, 2015 318 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.  * This snippet will allow the rss show events per owner (using user ID)
  3.  * eg.  http://domain.com/events/feed/?owner=2 (change 2 with your wp user id)
  4.  */
  6. function my_custom_rss_owner($args){
  7.   $args['owner'] = $_REQUEST['owner'];
  8.   return $args;
  9. }
  10. add_filter( 'em_rss_template_args','my_custom_rss_owner',10,1);
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