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?
The topic ‘Fetch data for a PHP script from a plugin?’ is closed to new replies.