Support » Plugin: Disabled NewRelic For AMP » Great!

  • blueprintmarketing

    (@blueprintmarketing)



    Works just like

    if (extension_loaded('newrelic')) {
      // Add AMP page identifying logic here that would, for example,    
      // set variable $amp to TRUE or FALSE. If $amp is true, disable new relic
      if ($amp) {
        newrelic_disable_autorum (FALSE);
        newrelic_ignore_transaction();
      }
    }
  • The topic ‘Great!’ is closed to new replies.