If you need to share them automatically, you can use save_post
action hook and switch_to_blog
and get_post()
+ wp_insert_post
functions.
I can suggest this tutorial. I think there is no reason to copy all the code from there to here.
If you need to share them automatically, you can use save_post
action hook and switch_to_blog
and get_post()
+ wp_insert_post
functions.
I can suggest this tutorial. I think there is no reason to copy all the code from there to here.