diff --git a/src/content/docs/apm/agents/php-agent/configuration/php-agent-configuration.mdx b/src/content/docs/apm/agents/php-agent/configuration/php-agent-configuration.mdx index 351f90a39ab..8681ae20511 100644 --- a/src/content/docs/apm/agents/php-agent/configuration/php-agent-configuration.mdx +++ b/src/content/docs/apm/agents/php-agent/configuration/php-agent-configuration.mdx @@ -3216,6 +3216,92 @@ The values of these settings are used to control various tracer features. To enable WordPress hook tracking, set this to `true`. It will enable the recording of WordPress hooks, plugins, and themes, and they will display under the [**WordPress**](/docs/agents/php-agent/frameworks-libraries/wordpress-specific-functionality) tab in the New Relic UI. + + + + + + + + + + + + + + + + + + + + + +
+ Scope: + + PERDIR +
+ Type: + + String +
+ Default: + + `"all_callbacks"` +
+ Sets the options how WordPress hooks are instrumented. + New Relic agent can provide different levels of insights into WordPress hooks. + By default, all hook callbacks functions are instrumented ("all_callbacks"). + To reduce agent's overhead it is possible to limit the instrumentation to only + plugin/theme callbacks ("plugin_callbacks"). Third option is to monitor hooks + without instrumenting callbacks ("threshold"). This option does not give insights + about plugins/themes. Read more about WordPress specific instrumentation [here](/docs/agents/php-agent/frameworks-libraries/wordpress-specific-functionality). +
+ + + + + + + + + + + + + + + + + + + + + + +
+ Scope: + + PERDIR +
+ Type: + + Duration +
+ Default: + + `1ms` +
+ Sets the threshold above which the New Relic agent will record WordPress hook execution. Used when newrelic.framework.wordpress.hooks.options is set to "threshold". +
+