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

Continue the discussion


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 109


English 10263

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