I am building a plugin, with a tinymce popup window to configure the shortcode. I need to be able to fetch a value from the 'options' table of the database which was created with the options api.
In PHP fetching the value would be done as following:
$options = get_option('wpep_options'); $var_i_need = $options['repo_url']
I need to assign $var_i_need as a javasrcript variable within the tinymce popup.
Any ideas?, Thanks