Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter('swift3_script_type', function($type, $tag){
- if (isset($tag->attributes['src']) && preg_match('~recaptcha/api\.js~', $tag->attributes['src'])){
- $type = 'swift/normalscript';
- }
- return $type;
- }, 11, 2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement