Zhu Development Tools for WordPress

Zhu Development Tools for WordPress

Wordpress plugin

Install on Wordpress

App Details

A WordPress plugin to provide general tools to assist with WordPress development and maintenance. Each tool within this collection is pluggable, allowing you full control, over which ones are loaded.

Main features include:-

  • Internal Developer Log (database table with viewer) that can be called from code to log message, debug details etc.
  • Send A Test Email
  • List Cookies (client side)
  • Clear WordPress’ Core Updater Lock & Increase PHP execution time to assist with timeout issues

Deactivation

When deactivating this plugin from WordPress’ Plugins maintenance any option relating to deactivating will be adhered to even if that tool is disabled (as
long as the tool’s physical file is still present).

For example, even if you disable the loading of the Development Logging Support tool, when this plugin is deactivated, if the Logging Support’s tool option to drop the log table on deactivation is set, the database table will still be deleted.

Pluggable

Each tool is in itself pluggable and can be removed or disabled from your WordPress installation.

You may wish to do this to limit which tools are available on your live site.

There are two different methods of disabling a tool.

Removing via Administration Options

On the main general settings screen you are able to choose which tools are active. By default tools are active and by default any new tools in
future updates of this plugin will default to active. You can also change this behaviour by turning off the option to activate new tools by default.

Removing via Physical File Deletion

Each tool exists within the tools\ sub-directory. You can disable a tool simply by deleting the file or rename it so it is no longer prefixed with zhu_dt_.

Please note, if you apply an update to this plugin the removed file will be placed back as part of the update process. Upon restoring the file it will be treated as a newly detected tool which may be enabled depending on the option to activate new tools by default. You can find this option on the general settings screen.

The Tools

  1. Tool Activator & Client Development Toolbar
  2. Generic development log database table
  3. Quick email test
  4. Cookie viewer
  5. Update Assist

1. Tool Activator & Client Development Toolbar

This tool provides UI support on the general settings screen to allow you to enable and disable other tools.

You cannot disable this tool via the UI but like the other files in the tool directory you can remove the file zhu_dt_activator.class.php to disable UI support.

Client Development Toolbar

Some tools provide features to be available on the client side (i.e. your website not the admin area of WordPress). If there are no tools enabled that provide client side features the toolbar will not be displayed.

To prevent the toolbar being displayed for everyone, i.e. public, it is also restricted to the specified user as per its settings. This however, will only work when that user is logged into WordPress and viewing their site.

However, there may be times, when you wish to use these tools when visiting your site as a member of the public and therefore you will not be logged into WordPress. To achieve this, the toolbar has an option to create a browser cookie containing an Activation ID. This ID is then matched with the ID that you will need to enter into the tool’s settings. If matched then the toolbar is rendered on the system with the matching cookie value.

The toolbar hooks into WordPress wp_body_open action to inject required HTML. wp_body_open was introduced into WordPress 5.2.0 which should be triggered via your theme after the open body html tag. As such, if your theme does not support this then the client toolbar will not be displayed.

2. Generic development log database table

Tool filename: zhu_dt_log.class.php

Provides a public function to call via your code to record a log into the database

public function zhu_log( string $content) {} E.g. zhu_log(‘testing my feature ‘ . $mode); 

This function records, with a date a time stamp, into the database table [wp]_zhu_log. Where [wp] is your site’s database table prefix. Entries in this table can be viewed via this plugin’s log viewer which is accessible from the Administration Menu.

The log can be truncated at anytime via the truncate button found on this plugin’s options page.

In the event that this tool has been disabled or zhu_dt_log.class.php has been removed any calls to zhu_log() within your own code will not fail. However no logging will take place as zhu_log() simply becomes a do nothing function. This allows you to keep your logging code in place, if required, and enable/disable the actual recording to the database by enabling and disabling this tool as required.

3. Email Test

Tool filename: zhu_dt_send_test_email.class.php

Provides, within this plugin’s options screen, a quick test to send an email using WordPress’ wp_mail() function.

The email address, subject and body of the email are remembered for next time. If an error is detected its details are displayed on screen.

4. Cookie Viewer

Tool filename: zhu_dt_cookie_viewer.class.php

When enabled, this tool adds an icon to the main site’s floating toolbar. The feature allows you to view cookies used by the site. Detection is performed bia locally running JavaScript.

This pop-up viewer also provides an easy method of deleting individual cookies.

5. Update Assist

Tool filename: zhu_dt_cookie_viewer.class.php

This tool provides a simple button to remove WordPress’s Core Updater Lock. This will remove WordPress’s internal “lock” that is used by WordPress to indicate that a core update is taking place. Whan a core update fails, for example, due to a timeout issue when downloading, the lock may still be present. As such, when you try again WordPess displays the message “Another Update in Progress”.

This tool also allows you to set the value of PHP’s max_execution_time. This may assist with timeout issues when downloading updates. After enabling this option and pressing save the tool will inform you as best it can with the results of applying the change. Please note, that some hosting providers configure their systems so changing this value has no effect even even if PHP reports the change was successful.

Pricing

Starting from $0 per month.

Check Out the Google Reviews Widget

By Common Ninja

Google ReviewsTry For Free!

App Info

Rating

Reviewers

No reviews

Tags

development
logging
testing
tools

Developed By

David Pullin

Quick & Easy

Find the Best Wordpress plugins for you

Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!

Testimonial

Testimonial plugins for Wordpress

Galleries

Galleries plugins for Wordpress

SEO

SEO plugins for Wordpress

Contact Form

Contact Form plugins for Wordpress

Forms

Forms plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Sliders

Sliders plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Comments

Comments plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Maps

Maps plugins for Wordpress

Security

Security plugins for Wordpress

Translation

Translation plugins for Wordpress

Ads

Ads plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Music Player

Music Player plugins for Wordpress

Backup

Backup plugins for Wordpress

Privacy

Privacy plugins for Wordpress

Optimize

Optimize plugins for Wordpress

Chat

Chat plugins for Wordpress

Countdown

Countdown plugins for Wordpress

Email Marketing

Email Marketing plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Membership

Membership plugins for Wordpress

popup

popup plugins for Wordpress

SiteMap

SiteMap plugins for Wordpress

Payment

Payment plugins for Wordpress

Coming Soon

Coming Soon plugins for Wordpress

Ecommerce

Ecommerce plugins for Wordpress

Customer Support

Customer Support plugins for Wordpress

Inventory

Inventory plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Testimonials

Testimonials plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Slider

Slider plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Membership

Membership plugins for Wordpress

Forms

Forms plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Contact

Contact plugins for Wordpress

Comments

Comments plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Common Ninja Apps

Some of the best Common Ninja plugins for Wordpress

Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

Google Reviews for Wordpress logo

Google Reviews

Show verified customer feedback with Google Reviews to build trust, strengthen credibility, and help visitors make confident purchase decisions.

Scratch Card for Wordpress logo

Scratch Card

Add an interactive scratch card to engage users, reveal offers, and support lead capture through gamified participation.

Slide-In Panel for Wordpress logo

Slide-In Panel

Slide in panel that appears from the top or bottom to highlight offers, capture attention, and guide visitors toward more conversions.

Vimeo Carousel for Wordpress logo

Vimeo Carousel

Show Vimeo videos with a Vimeo carousel that displays clips in a smooth, flexible layout to boost visibility and engagement.

Card Slider for Wordpress logo

Card Slider

Showcase content with a card slider that presents images, text, and buttons in a smooth, customizable layout to keep visitors engaged.

Call Button for Wordpress logo

Call Button

Add a call button to your site so visitors can tap to start a phone call instantly, improving direct communication access.

Progress Circles for Wordpress logo

Progress Circles

Show progress with animated progress circles that visualize goals, display achievements, and keep visitors engaged.

News Ticker for Wordpress logo

News Ticker

Use a news ticker to display headlines and updates that highlight key information and keep users informed in real time.

MP3 Player for Wordpress logo

MP3 Player

Add an MP3 Player to your website and engage visitors with music, podcasts, and spoken audio without any setup complexity.

Image Poll for Wordpress logo

Image Poll

Create interactive image polls that use compelling visuals to boost engagement, gather feedback, and help visitors vote easily.

Video Slider for Wordpress logo

Video Slider

Showcase clips with a video slider that plays videos from multiple sources in a smooth slideshow, improving design and keeping visitors engaged.

PayPal Button for Wordpress logo

PayPal Button

Offer customers a trusted way to pay using PayPal through a PayPal Button that reduces checkout friction and supports higher sales.

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!

Multiple platforms