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

Continue the discussion

Published

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:

Event

WordCamp Albuquerque 2018 32

Speakers

Brian Stinar 1

Tags

plugin 109

Language

English 10263

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