Forums

TinyMCE load a PHP file, get_option() not working (1 post)

  1. gimpneek
    Member
    Posted 2 years ago #

    Hi I was wondering if someone could help me out.

    I'm writing a plugin that uses the TinyMCE editor, everything works fine but I'd like to add some WordPress functionality to the page the plugin loads in.

    Normally it would load in an HTML file, I want it to load in a PHP (which it does perfectly) and use the get_option() function to pull some user setting from the wordpress database. Everytime I try though it says fatal error call to undefined function.

    How do I define get_option()?

Topic Closed

This topic has been closed to new replies.

About this Topic