Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    There is wp_set_current_user(). Whether that will work in your situation depends on what process is managing the sync. Usually WP scheduled events do not require users be logged in to do administrative tasks, but the event callback could be enforcing further restrictions.

Viewing 1 replies (of 1 total)

The topic ‘Simulate wordpress login?’ is closed to new replies.