描述
This is simple plugin disable NewRelic for AMP endpoint.
安装
- Upload this directlies to the
/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- And You have to set following information.
评价
2017 年 8 月 25 日
Disabe New Relic for AMP pages
2017 年 1 月 3 日
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();
}
}
2016 年 9 月 3 日
A+ Does what it’s supposed to.
贡献者及开发者
更新日志
3.0.0
- update hook
2.0.0
- Change Hook
1.0.0
- Initialize Release