Advertisement
Guest User

Untitled

a guest
Sep 20th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.55 KB | None | 0 0
  1.  function horse_odds_shortcode() {
  2.  
  3.     $options = get_option($this->plugin_name);
  4.  
  5.  
  6.  
  7.     // Cleanup
  8.  
  9.     $betfair_show = $options['betfair_show'];
  10.  
  11.     $betfair_username = $options['betfair_username'];
  12.  
  13.     $betfair_password = $options['betfair_password'];
  14.  
  15.     $betfair_affiliate_id = $options['betfair_affiliate_id'];
  16.  
  17.     $smarkets_show = $options['smarkets_show'];
  18.  
  19.     $smarkets_affiliate_id = $options['smarkets_affiliate_id'];
  20.  
  21.  
  22.  
  23.     return $smarkets_affiliate_id;
  24.  
  25. }
  26.  
  27.  
  28.  
  29. add_shortcode('horse_odds', 'horse_odds_shortcode');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement