Advertisement
swte

Load early recaptcha

Mar 24th, 2025
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.24 KB | None | 0 0
  1. add_filter('swift3_script_type', function($type, $tag){
  2.       if (isset($tag->attributes['src']) && preg_match('~recaptcha/api\.js~', $tag->attributes['src'])){
  3.             $type = 'swift/normalscript';
  4.       }
  5.       return $type;
  6. }, 11, 2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement