[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 / Settings > oik action options / Settings > oik action options – Ad hoc tracing / Trace attached hook functions

Trace attached hook functions

Use the Trace attached hook functions text area field to enter a comma separated list of selected hooks for which you want to determine the attached hook functions.

Sample trace output

Sample output for the_content.

wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php(524:0) 
bw_trace_attached_hooks(3) 240 0 2019-12-05T16:35:19+00:00 0.335881 0.000235 
cf=the_content 9695 34 3254 6291456/6291456 256M F=583 the_content 
: 0   bw_trace_parms;9 bw_trace_the_post;9 bw_trace_attached_hooks;9 bw_trace_backtrace;9
: 1   oikp_the_content;1 oiksc_the_content;1
: 8   WP_Embed::run_shortcode;1 WP_Embed::autoembed;1 bw_trace_results;9
: 9   do_blocks;1 bw_trace_results;9 oik_do_shortcode;1
: 10   prepend_attachment;1 wp_make_content_images_responsive;1 bw_trace_results;9
: 11   capital_P_dangit;1 do_shortcode_earlier;1
: 20   convert_smilies;1
: 98   wptexturize_blocks;1
: 99   bw_wpautop;1

Notes

  • The output shows the priority to which the functions are attached
  • The number of parameters expected by the hook is shown after the semi-colon
  • For each priority the functions are invoked in the order listed.
  • Hooks implemented in methods are prefixed with the class e.g WP_Embed::run_shortcode;1
  • The code also supports anonymous functions showing Closure
  • If tracing is set to BW_TRACE_VERBOSE you also get a trace record for the WP_Hook object, from which the summary is produced.

Published: September 25, 2015 | Last updated: December 1, 2020

Information

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

Recent plugin updates

oik-themes v1.4.0 

Update to oik-themes v1.4.0 to support Full Site Editing (FSE) themes. FSE themes, which are currently experimental, deliver block based templates and template parts.

 ...
oik-clone v2.0.1 oik-clone v2.0.1 contains a fix for a 500 internal server error being produced when cloning content with certain taxonomy terms. ...
SB Chart block v0.1.1 

Update to SB Chart block v0.1.1 for improved enqueing of the chart.js Javascript and better colours in the Gutenberg palette.

 ...
Slog v1.3.1 

Update to Slog v1.3.1 for a new Driver tab and improved display of charts grouping Elapsed times.

 ...
SB-Chart-Block v0.0.8 SB-Chart-Block v0.0.8, a WordPress single block plugin, supports 4 different chart types; Line, Bar, Horizontal bar and Pie. ...

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: [email protected]

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-2021. All rights reserved.


Website designed and developed by Herb Miller of Bobbing Wide
Proudly powered by WordPress and oik-plugins