I have an idea but I don't know if it's working on wordpress.

I wanna save/stock input values on a custom field or metabox, is that something can work on wordpress? I couldn't find any way to develop such a thing.

I hope I had describe my idea.

  • So, you're saying you want to create some default custom fields with default values on post creation? – socki03 Oct 19 '16 at 21:44
  • @socki03 exactly, I have created a custom post type with many custom fields, so i want to save what people insert in the form input on the custom field. – Carl Willis Oct 19 '16 at 21:47
  • Then you'll want to use the save_post action once your post is created, you can update_post_meta all the form fields to custom fields. Unfortunately, I can't be more specific without any more information. codex.wordpress.org/Plugin_API/Action_Reference/save_post – socki03 Oct 19 '16 at 21:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.