__construct() __construct( $field, $value, $parent) Field Constructor. Required - must call the parent constructor, then assign field and value to vars, and obviously call the render field function Parameters $field $value $parent
render() render() Field Render Function. Takes the vars and outputs the HTML for the field in the settings
enqueue() enqueue() Enqueue Function. If this field requires any scripts, or css define this function and register/enqueue the scripts/css
localize() localize( $field, $value) : array Functions to pass data from the PHP to the JS at render time. Parameters $field $value Returns array — Params to be saved as a javascript object accessable to the UI.