Forum Replies Created
-
AuthorPosts
-
Biznet
ParticipantThank you, I'll use that !
I just didn't want to hook it from outside because I'd like to have a proper plugin, which I could use on any site and for any number of relation without having to write it on 2 places.
In the end, I will extend your post field class to make only 1 metabox declaration (with 2 arguments as post_types) which will create the display on both ends of the relation, and for that I will need something which the class can manage alone !
Biznet
ParticipantHi !
sorry, but that won't do the trick, as $field is not an argument in that function. I won't be able to get the 'id' parameter of each declared metabox to copy the meta for the declared ones and only for them.would there be a way to get, from there, all the defined metaboxes, so I could chain on the list, select the reverse_post ones, then copy data only for those for the given post ?
Biznet
ParticipantHi,
thank you for the github question.
Your first solution is indeed a good temporary solution !Biznet
ParticipantHi !
I indeed ended doing that, though I would have liked having a proprer way to get it. Thanks !A search function on the questions would be interesting, as I trying to find the answer in existing posts but couldn't find it ๐
Biznet
ParticipantHi,
indeed, it now does work fine.
Thanks ! -
AuthorPosts