Blog Archives

Find all functions hooked to a WordPress action / filter

Quite simply add this near the apply_filters or do_action. global $wp_filter; error_log( “\n ” . print_r( $wp_filter[‘action_or_filter_tag_name’], true ), 3, dirname(__FILE__) . “/my_error_log.log” );

Posted in WordPress Tagged with:

Debug Tools For WordPress / PHP – current_filter and debug_backtrace

We have already discussed error_log here.  The current_filter() function will return the current WordPress filter or action calling a specific function. The return type is string, so it’s straight forward to just use it. Add the following inside the function

Posted in WordPress Tagged with:

Update WordPress Password via SQL (No phpMyAdmin)

Run this from a plugin or a file that will be executed. global $wpdb; $wpdb->query( “UPDATE wp_users SET user_pass= MD5(‘new-password’) WHERE user_login = ‘known-username'” ); Refer: https://stackoverflow.com/a/23635330/8255629

Posted in WordPress Tagged with: , ,

Best WordPress Themes for Attorneys

WordPress is the best and the most used platform for building a blog or a website. It offers a number of suitable themes, templates and plugins for all genres and areas. There are so many options available that one may

Posted in Guest Posts, WordPress Tagged with: , ,

The New WordPress Gutenberg Demystified

For WordPress users, developers and third parties, the end of 2018 was marked by somewhat of a blow. The long-anticipated new version, WordPress 5.0, came out and with it came one huge, potentially game-changing thing – the new Gutenberg editor.

Posted in Guest Posts, WordPress Tagged with: ,