[oik] plugins.com

WordPress plugins and themes

  • Home
  • About
    • lazy shortcodes
    • smart shortcodes
    • oik base plugin
      • oik – donate
      • oik PayPal buttons
      • oik installation
      • oik Button Shortcode button
      • oik changelog
      • oik FAQ
      • oik plugins on SVN
      • oik plugins on GitHub
  • Plugins
    • oik base plugin
    • FREE oik plugins
    • WordPress plugins
    • Premium oik plugins
    • Bespoke oik plugins
  • Shortcodes
    • Shortcode examples
  • Blocks
    • Block examples
  • APIs
    • ALL action and filter hooks
  • Blog
You are here: Home / WordPress plugins from oik-plugins / FREE oik plugins / oik-bwtrace – debug trace for WordPress / Deprecated or deleted or legacy logic and documentation / oik-bwtrace action and filter trace file – bwaction.loh – Deprecated

oik-bwtrace action and filter trace file – bwaction.loh – Deprecated

No longer relevant. This functionality has been replaced by Count action hooks and filters. The oik-bwtrace action and filter output file lists the actions and filters invoked on your WordPress server. We use the name bwaction.loh. The format of each record is:
  • timestamp – with microseconds
  • action start or end indicator
  • trace record count
  • current filter
  • context
The action start or end indicator values are:
  • <S = Action start
  • E> = Action end
  • <I = Immediate action start
  • I> = Immediate action end
Here is a sample showing the start of “init” processing.
2012-12-20 10:02:59 0.71846600 <I 711 cf! do_action init
2012-12-20 10:02:59 0.71975400 <S 712 cf=init
2012-12-20 10:02:59 0.72103000 <I 713 cf=init apply_filters gettext_with_context
In these examples we have both action and Immediate action tracing enabled. Note: You cannot perform Immediate action tracing without also having selected Action tracing. Here are excerpts of the matching trace records from bwtrace.loh
711 cf! 0 16836880/17396408 do_action(74) init
712 cf=init 0 16837880/17396408 bw_trace_action_start(26) arg1
713 cf=init 0 16838160/17396408 apply_filters(1250) gettext_with_context Post
Nearly 900 trace records later we find the end of “init” processing
2012-12-20 10:03:01 0.63814200 E> 1611 cf=init
2012-12-20 10:03:01 0.64196800 I> 1612 cf! do_action init
Clearly there’s a lot of processing in “init”. Further analysis of the action log for this particular part of the transaction reveals the following. Of the 870 action or filter records, only 18 of the calls were actually hooked into by the active plugins. These were:
  • init – obviously
  • oik_fields_loaded
  • oik_loaded
  • option_blog_charset
  • option_category_base – called 3 times
  • option_home
  • option_siteurl – called 5 times
  • option_tag_base – called 2 times
  • widgets_init
  • wp_default_scripts
  • wp_default_styles
So that meant there were 800 Immediate action trace records (produced by calls to do_action(), apply_filters(), do_action_ref_array() or apply_filters_ref_array()) for which no hook had been added. Those called more than once were:
HookInvocations
gettext482
gettext_with_context119
wp_register_sidebar_widget70
sanitize_key22
registered_post_type14
attribute_escape 8
registered_taxonomy 5
pre_option_siteurl 5
pre_option_cron 4
option_cron 4
site_url 4
pre_option_category_base 3
pre_option_tag_base 2
includes_url 2
Leaving 56 other actions/filters called once each.

Published: December 20, 2012 | Last updated: December 3, 2019

Information

Component:
  • oik-bwtrace – debug trace for WordPress
Letters: O

Recent plugin updates

oik-css v2.1.0 Update to oik-css v2.1.0 for the ability to style CSS and GeSHi output in documentation. ...
oik-types v2.3.0 Update to oik-types v2.3.0 for improved control over sort order on archives ...
UK-tides v3.1.0 UK-tides v3.1.0 now supports several additional ports. It's built with latest wp-scripts and shared libraries and tested with WordPress 6.1. ...
oik v4.8.2 Upgrade to oik v4.8.2 if you installed oik v4.8.1 from wordpress.org and found that the blocks were missing from the editor. ...
sb-chart-block v1.1.0 sb-chart-block v1.1.0 now uses chart.js v3.9.1. Tested with WordPress 6.0.1 and Gutenberg 13.8.2 ...

Plugins

  • All Plugins
  • oik base plugin
  • FREE oik plugins
  • WordPress plugins
  • Premium oik plugins

Themes

  • FREE themes
  • Bespoke themes
  • Premium themes

Blocks

  • All Blocks
  • Block examples
  • About Blocks

Shortcodes

  • All Shortcodes
  • Shortcode examples
  • About Shortcodes

Reference

  • About APIs
  • All APIs
  • All Classes
  • All Files
  • All Hooks

Support

  • Contact
  • Cookies policy
  • Get API key
  • Privacy
  • Request support
  • Sitemap
  • Stay informed
  • Terms and Conditions
oik-plugins
Email: oikplug@oik-plugins.com

Weight shipping plugins

Find out which cart weight shipping plugin you need for your WooCommerce site.
Which cart weight based plugin do I need?

Site:  www.oik-plugins.com
© Copyright oik-plugins 2011-2023. All rights reserved.


Website designed and developed by Herb Miller of Bobbing Wide
Proudly powered by WordPress and oik-plugins
WordPress 6.1.1. PHP: 7.4.33. Memory limit: 768M