0

I want to insert custom post type with it's custom fields values I have found this method to insert custom post type but with no custom fields

wp_insert_post( array $postarr, bool $wp_error = false, bool $fire_after_hooks = true )

But the problem is on how to insert custom field values (that exists)

3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.