This topic contains 6 replies, has 2 voices, and was last updated by Anh Tran 2 years, 4 months ago.
- Topic
Hi !
I was wondering how i could prefill the custom fields in a new post.
i know i can use the ‘std’ parameter but i would like to make it conditionnal and dynamic.For example in a new post, be able to get metadata of another custom post type which the POST_ID would be in a hidden field or a parameter in the URL.
Something like http://www.wpbeginner.com/wp-tutorials/how-to-add-default-content-in-your-wordpress-post-editor/ but for custom fields.
May be with https://metabox.io/docs/filters/#section-rwmb_normalize_field ?
What is the best syntax or way to do this ?
Thank You for your help !
You must be logged in to reply to this topic.