Skip to content

Instantly share code, notes, and snippets.

@lynt-smitka
Last active April 24, 2019 09:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lynt-smitka/55249f7bdc57a55129eec46a157a2cb4 to your computer and use it in GitHub Desktop.
Save lynt-smitka/55249f7bdc57a55129eec46a157a2cb4 to your computer and use it in GitHub Desktop.
Blackfire.io for WP
metrics:
do_action:
label: "do_action calls"
matching_calls:
php:
- callee:
selector: '=do_action'
argument: { 1: "^" }
apply_filters:
label: "apply_filters calls"
matching_calls:
php:
- callee:
selector: '=apply_filters'
argument: { 1: "^" }
apply_filters_wp_hook:
label: "apply_filters calls wp hook"
matching_calls:
php:
- callee:
selector: '=WP_Hook::apply_filters'
argument: { 1: "^" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment