PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. PHP
  4. PHP Console Log
PHP Console Log icon

PHP Console Log

Log PHP variables and arrays to the web console in your browser via JavaScript's console.log(). No browser extensions required.

By Marcus Viar·PHP·Free
5(1 reviews)
·20 active installs·Updated 6 years ago
DownloadVisit HomepageCompare

As of April 2026, PHP Console Log is a WordPress php plugin with 20 active installations and a 5/5 rating from 1 reviews. It has been downloaded 2.6K+ times in total. Requires WordPress 4.4+ and PHP 5.6.20+. Available on WordPress.org since 2019. Last updated 6 years ago — may have compatibility concerns. Top alternative: WPCode – Insert Headers and Footers +….

5/51 reviews
20active installs
2.6K+total downloads
7 yearssince 2019

Overview

Examples

Place the do_action( ‘php_console_log’, ‘My String or Array’ ); function anywhere in your WordPress plugin PHP code. The value(s) you pass into do_action( ‘php_console_log’, ‘My String or Array’ ); will be logged to the web console in your browser.

Pass in a string

$my_string = 'My String';
do_action( 'php_console_log', $my_string );

Pass in an array

$my_array = array(
    'elm 1'
    'elm 2',
);
do_action( 'php_console_log', $my_array );

Pass in an associative array

$my_array = array(
    'key 1'=>'elm 1',
    'key 2'=>'elm 2',
);
do_action( 'php_console_log', $my_array);

Pass in an unlimited number of arguments nested to an unlimited depth (multi-dimensional array)

$my_array = array(
    'My String 1',
    'My String 2',…
Read full description on WordPress.org

Screenshots

Ratings & Reviews

51 reviews
5 ★
1
4 ★
0
3 ★
0
2 ★
0
1 ★
0

Compatibility

WordPress4.4+ requiredTested up to 5.3.21
PHP5.6.20+ required

Top Alternatives to PHP Console Log

WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager icon
WPCode – Insert Headers and Footers +…
4.93.0M+ installsUpdated 2 weeks ago
ViewCompare
Code Snippets icon
Code Snippets
4.71.0M+ installsUpdated 1 month ago
ViewCompare
PHP Compatibility Checker icon
PHP Compatibility Checker
2.7200K+ installsUpdated 2 years ago
ViewCompare
PHP Code Widget icon
PHP Code Widget
4.790K+ installsUpdated 4 years ago
ViewCompare
Error Log Monitor icon
Error Log Monitor
4.320K+ installsUpdated 6 months ago
ViewCompare
View all php plugins →

Frequently Asked Questions

Changelog

1.0.0

Initial release.

View full changelog on WordPress.org

Contributors

Marcus ViarMarcus Viar
Plugin Info
Version
1.0.1
Last Updated
Feb 7, 2020
WP Requires
4.4+
Tested Up To
5.3.21
PHP Requires
5.6.20+
Active Installs
20
Downloads
2.6K+
Added
Jul 10, 2019
Business
Free

Tags

phpdebugbrowserconsole.logdevelopment

Developer

M
Marcus Viar
1 plugins0.0M+ total installs
View all plugins →

Quick Compare

PHP Console Log vs WPCode – Insert Headers and Footers +…→PHP Console Log vs Code Snippets→PHP Console Log vs PHP Compatibility Checker→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.