Brian Stinar: Using Arrays as Plugin Variables … Or Why I Should Patch Core
Channel: WordPress
Date: 29/01/2019

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.

WPTV link: https://wordpress.tv/2018/02/20/brian-stinar-using-arrays-as-plugin-variables-or-why-i-should-patch-core/