Brian Stinar: Using Arrays as Plugin Variables … Or Why I Should Patch Core

Continue the discussion

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


February 20, 2018

For one of our customers, we required variable length arguments to be passed into plugin configuration options. WordPress core only supports scaler (single variable) assignment. So, we modified the plugin itself to support this. This talk will be a line-by-line code review on the work we did. The talk will be split between PHP and jQuery. Proficiency at both is assumed. If we need to do this for another (paying) customer, we’ll likely take that opportunity to make these modifications to core. Until then, the actual code we display will be publicly available under a GPL license. The rest of the plugin code will not be displayed, and has an indeterminate license.

Rate this:


WordCamp Albuquerque 2018 32


Brian Stinar 1


plugin 106


English 9632

MP4: Low, Med, High, Original
OGG: Low
Subtitle this video →
%d bloggers like this: