• Hello everybody,
    I’m writing a new theme and I need a jQuery script loaded on the admin side of the site, inside a theme option page only, and that was the easy part, it’s working and all is great.
    Now I need this script to be able to use a value from the options database and I have no idea on how proceed..

    the script is enqueued via the admin_enqueue_script action using the wp_enqueue_script() function. is there a way to pass an option to a script loaded that way??

    Thanks everybody in advance!!

  • The topic ‘access options table in database from inside jQuery script’ is closed to new replies.