• 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()?

  • The topic ‘TinyMCE load a PHP file, get_option() not working’ is closed to new replies.