May, 2019

List active WordPress plugins

List active WordPress plugins

Another win this week. I’ve needed this for some time – a way to list currently active plugins on a WordPress site. I cobbled the following PHP script together from fragments found on the web. You’ll need to edit the IP address at the top of the script. While there are other ways to lock down this script, this is my preferred method.

Here’s the output: (truncated) Click to enlarge Groovy! References Function Reference/get plugins CSS for table styling wprecipes.com -code inspiration

Finally – timestamps in h2o logfile

Finally – timestamps in h2o logfile

This has been bugging the shit out of me for ages and I found a solution today using the ts utility from moreutils. Here’s the error log directive in h2o.conf:

Now I have output which is much more usable. Take a look!