Using the WP get_option() function
-
So how do you use WordPress’s variable get_option() function to set a variable?
I tried:
$variable=get_option(‘option’);
But I had no luck. Got an error message as “Call to undefined function.”
I tried including /wp-includes/functions.php but it made no difference.
Anyone got any idea? Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Using the WP get_option() function’ is closed to new replies.