A unique network-wide identifier for posts and terms
-
I have three subsites. When a post is created in one of them, I need the following to happen:
– The same post should be created in all other subsites
– Any change to the post should occur in all subsitesSo I was looking to go with
save_post
action hook here, along with iteration through subsites usingswitch_to_blog()
. The thing is, I need some sort of a unique identifier toget_post
by, on each subsite. Title, slug and ID are not going to cut it since conditions differ on each subsite and they might be different from site to site.Any ideas?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘A unique network-wide identifier for posts and terms’ is closed to new replies.