Search the Community
Showing results for tags 'custom options'.
Found 1 result
Howdy, I'm making a custom section and it needs a type-ahead box that searches for other custom post types to feature in it. The big question is how I save a custom option 'type' values (i.e., not one of the built-in "text", "checkbox", etc). I've looked through the "pagelines-section-template" code, and watched the YouTube tutorials, but those all give examples of a "text" option type, not a custom one. I found the action inside `class.options.engine.php` for outputting the custom option type (below), so that's not a problem: do_action( 'pagelines_options_' . $o['type'] , $oid, $o); ...but I'm falling short on finding where to save the option's values. Thanks in advance!