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:

WordPress.com Logo

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

Google+ photo

You are commenting using your Google+ 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

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 76

Language

English 6885

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