[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$ftg_vFHq8P5kbotiMOSIakJYeJr-NRRwwngzTOTBvIFk":3},{"slug":4,"display_name":5,"profile_url":6,"plugin_count":7,"total_installs":8,"avg_security_score":9,"avg_patch_time_days":10,"trust_score":11,"computed_at":12,"plugins":13},"marcusviar","Marcus Viar","https:\u002F\u002Fprofiles.wordpress.org\u002Fmarcusviar\u002F",1,20,85,30,84,"2026-04-04T14:40:37.847Z",[14],{"slug":15,"name":16,"version":17,"author":5,"author_profile":6,"description":18,"short_description":19,"active_installs":8,"downloaded":20,"rating":21,"num_ratings":7,"last_updated":22,"tested_up_to":23,"requires_at_least":24,"requires_php":25,"tags":26,"homepage":32,"download_link":33,"security_score":9,"vuln_count":34,"unpatched_count":34,"last_vuln_date":35,"fetched_at":36},"php-console-log","PHP Console Log","1.0.1","\u003Ch4>Examples\u003C\u002Fh4>\n\u003Cp>Place the \u003Cstrong>do_action( ‘php_console_log’, ‘My String or Array’ );\u003C\u002Fstrong> function anywhere in your WordPress plugin PHP code. The value(s) you pass into \u003Cstrong>do_action( ‘php_console_log’, ‘My String or Array’ );\u003C\u002Fstrong> will be logged to the web console in your browser.\u003C\u002Fp>\n\u003Ch4>Pass in a string\u003C\u002Fh4>\n\u003Cpre>\u003Ccode>$my_string = 'My String';\ndo_action( 'php_console_log', $my_string );\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch4>Pass in an array\u003C\u002Fh4>\n\u003Cpre>\u003Ccode>$my_array = array(\n    'elm 1'\n    'elm 2',\n);\ndo_action( 'php_console_log', $my_array );\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch4>Pass in an associative array\u003C\u002Fh4>\n\u003Cpre>\u003Ccode>$my_array = array(\n    'key 1'=>'elm 1',\n    'key 2'=>'elm 2',\n);\ndo_action( 'php_console_log', $my_array);\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Ch4>Pass in an unlimited number of arguments nested to an unlimited depth (multi-dimensional array)\u003C\u002Fh4>\n\u003Cpre>\u003Ccode>$my_array = array(\n    'My String 1',\n    'My String 2',\n    array(\n        'elm 1',\n        'elm 2',\n    ),\n    'My String 3',\n    array(\n        'key 1'=>'elm 1',\n        'key 2'=>'elm 2',\n        'key 3' => array(\n            'key 3a' => 'elm 3a',\n            'key 3b' => 'elm 3b',\n        ),\n    ),\n    'My String 4'\n);\ndo_action( 'php_console_log', $my_array);\n\u003C\u002Fcode>\u003C\u002Fpre>\n","Log PHP variables and arrays to the web console in your browser via JavaScript's console.log(). No browser extensions required.",2536,100,"2020-02-07T08:58:00.000Z","5.3.21","4.4","5.6.20",[27,28,29,30,31],"browser","console-log","debug","development","php","https:\u002F\u002Fmarcusviar.com\u002Fphp-console-log","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fphp-console-log.1.0.1.zip",0,null,"2026-03-15T15:16:48.613Z"]