Forums

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

  1. gimpneek
    Member
    Posted 4 months 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()?

Reply

You must log in to post.

About this Topic