Jump to content

Search the Community

Showing results for tags 'option type'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 1 result

  1. 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!