shane.blog A WordPress Blog

ArchiveNovember 2019

Loop through an array

L

Today I needed to loop through the output of a command on the WP CLI. The most simple way I could think to do that was to save the output of the command into an array and loop through it. What I did was use wp site list to get the subsites on a WordPress Multisite. I needed to pass each of those sites as an argument to a command and give it some time in between each execution since it was going...

VIP Grand Meetup

V

In October WordPress VIP headed to the Rotterdam in the Netherlands for the VIP Grand Meetup! This was my first VIP GM and the first year not attending the main Automattic GM. I had a blast getting to know the amazing folks in VIP. You can view some photos of the trip here.

shane.blog A WordPress Blog