Advertisement
borlabs

Borlabs Cookie - Filter Beispiel

May 12th, 2018
407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.21 KB | None | 0 0
  1. function meinThirdPartyCode($jsCode) {
  2.  
  3.     $jsCode = $jsCode.' <script> console.log("horray"); </script>';
  4.    
  5.     return $jsCode;
  6. }
  7.  
  8. add_filter('borlabs_cookie_third_party_code', 'meinThirdPartyCode');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement