Custom Posts from a different sub-site?
Anyone ever figured out how to modify this to grab a CPT from a different sub-site?
Specifically I need to:
#1 Prompt a user for which sub-site they want (get_blog_list)
#2 List the posts on THAT sub-site for selection (switch_to_blog and plugin lists posts)
#3 Grab metadata from that post and include it in the notification email (set $post_id and get metadata)
I know it’s a huge longshot anyone has any of this worked out, but it’s worth a shot before I start from scratch on it….
- The topic ‘Custom Posts from a different sub-site?’ is closed to new replies.