I have a custom post type (“payment”) that contains a relationship field to another CPT (“customer”).
I’m trying to create a new payment post with the relationship field dynamically pre-loaded based on a URL parameter – something like this:
wp-admin/post-new.php?post_type=payments&customer_id=316
Is this possible?
Hi @locomo
sure is!
You can use an acf filter to customize the value like so:
http://www.advancedcustomfields.com/resources/filters/acfload_value/
Thanks
E
Hi @locomo
sure is!
You can use an acf filter to customize the value like so:
http://www.advancedcustomfields.com/resources/filters/acfload_value/
Thanks
E
hot damn! that worked perfectly
this plugin just keeps giving and giving…
many thanks