Created
January 5, 2016 19:51
-
-
Save davebonds/364120eaa1cc50bf72f6 to your computer and use it in GitHub Desktop.
Filter the domain sent in an Equity -> IDX API call
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('equity_idx_api_domain', 'my_domain_spoof'); | |
function my_domain_spoof() { | |
$domain = 'http://www.THEIDXDOMAIN.com'; | |
return $domain; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment