WordPress.org

Forums

Fetch data for a PHP script from a plugin? (1 post)

  1. samell1
    Member
    Posted 2 years ago #

    So basically, I'm writing my own small PHP script to display different sidebar content based on the author of a post. Just a simple if elseif statement, but I need to have a way for the script to determine who the author is. We currently use CoAuthors Plus, and I was curious if there was a way to reference a variable or collect data from an entirely different PHP script, since the data for this would obviously be in a plugin? Is this possible?

Topic Closed

This topic has been closed to new replies.

About this Topic