Hikari Tools Framework isn't a plugin with features for the end user. It's a development framework with tools to be used by other plugins, so that they don't need to duplicate the same code over and over again.
It deeply decreases plugins development time, specially in building options pages. For that, instead of building the whole HTML for each plugin, we can just prepare an array and it's used to build the whole page.
Another great feature this framework offers is options detection and reset. With the use of another simple array, in the bottom of options page it prints a table showing to plugin's users all kinds of options the plugins creates, being it wp_options, comment meta, post meta, and even network-wide options and user specific options (usermeta).
Every kind of data your plugin stores in database is shown in a clear way, with its key so that users can easly search for them in database. But they don't need to, because together with each option it informs if there's any data of that type stored, and provides user -friendly command to reset them all, totally cleaning the user's database from any data created by the plugin. Very easy and practical to use, and instantly available to any plugin that consumes Hikari Tools Framework!
Continue Reading »
Krumo is a debugging software equivalent to print_r() and var_dump(), with the advantage of collapsing array and object values so that it takes less space and let us see only what we really need from complex data.
Hikari Krumo ports it to a Wordpress plugin, so that Krumo becomes easily available in any Wordpress page. Original Krumo has a few bugs fixed and has its options available in an admin page instead of requiring krumo.ini file edited directly.
- The simplicity of print_r() with the details of var_dump()
- Show any data, including its data type
- For arrays and objects, internal data are collapsed, so that it takes less space and you can expand to see only those values you really wanna see, spending much less space
- Works anywhere in Wordpress, backend and frontend
- Hide it from visitors and only those who really need to see dump be able to see it
- Automatically shows PHP file and line where dump happened, a great tool for debugging
Continue Reading »participate
I've been developing Wordpress plugins for a few months, and I always felt challenging to know if those hooks I was using were being used by other plugins as well, and which were coming before and after my function.
Wordpress hooks are actions and filters. They are known by theme designers as those "things" that come in
$content = apply_filters("filter_tag",$content);. Plugin developers know them better, we love to hook actions and filters as
I just wanted something that, in any page I wanted, would show me a list of all hooks, everything hooked to each of them, and the priority order they were called.
Of course that couldn't be something like a static model designed by (my) hand, it should be something automatic, dynamic, related to each page. Something real, that showed what really happened during that particupar page load.
With some research I found codes that did that, and much more. I merged these codes together, improved them, and Hikari Hooks Troubleshooter was born
Continue Reading »information