I used to be questioning if it is attainable to get creator particulars and present them on the edit web page of a customized submit kind within the WordPress backend?
I exploit ACF Professional on this challenge and added some textual content fields for the telephone quantity, the tackle and a few extra private particulars, for a particular consumer position ‘buyer’. Additionally, I registered a customized submit kind with the identify ‘merchandise’. Within the registration course of (on frontend), a buyer has to fill out a type with all his private particulars, and a operate provides mechanically a submit with the kind ‘merchandise’ with a random quantity because the title to the backend, after the consumer registration is completed. This works all excellent.
My objective now’s to show the creator particulars on the edit web page of a submit (kind ‘merchandise’) within the backend. The relation between a submit and the creator is clearly current 🙂 and the default WordPress creator field shows the identify of the creator, however I must have extra particulars and do not know how one can get them. Possibly ACF may assist right here? There’s a hook to control the output of ACF fields:
apply_filters( 'acf/load_field', $subject );
What I don’t need, is so as to add ACF fields to the submit kind ‘merchandise’ and write the values to those fields, since I’ve all particulars within the registration course of. The info shouldn’t be redundant, so I believe, the higher approach is, so as to add ACF fields to the submit kind and have a relation to the authors particulars that I must see?
What are your ideas on this drawback? Possibly you have got some concepts? Thanks upfront.