The MU forums have moved to WordPress.org

switch_to_blog and plugins (1 post)

  1. xyzzy
    Member
    Posted 13 years ago #

    Hi, I am using switch_to_blog to pull content from one blog to another blog. This is working fine, in general.

    However, the content that gets pulled has some shortcodes in it. The shortcodes are defined only in the original blog, not the one doing the pulling. So, they are not being processed properly.

    I had thought that switch_to_blog really did switch to the other blog and its plugins would be in effect. So, the shortcodes would be processed before pulling the content over. However, I haven't found this to be the case.

    Can anyone shed any light on this?

    Thanks.

About this Topic

  • Started 13 years ago by xyzzy