Created
July 9, 2017 10:28
-
-
Save barrykooij/3913aff24af948dd927275cf620211a6 to your computer and use it in GitHub Desktop.
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
function dlm_custom_referrer( $refs ) { | |
$refs[] = "https://www.yourchinesedomain.cn"; | |
return $refs; | |
} | |
add_filter( 'dlm_hotlink_allowed_referers', 'dlm_custom_referrer' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment