外掛說明
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