Tagged Questions
2
votes
1answer
44 views
Using get_option() in JavaScript
Previously, I used the get_option() function to get an option in PHP, like this:
$width = get_option('my_width');
This is inside a shortcode function.
Now, I want to have an option in JavaScript. ...
2
votes
1answer
440 views
How to use get_option() without any filter?
I'm using the newest WordPress 3.3.1 and newest qTranslate 2.5.27. I have made some an AJAX script which returns a value and message in the current language.
Here I get my first problem, I solve it ...