Tagged Questions
0
votes
1answer
30 views
Can I use add_option for a plugin categories and how?
So I am creating my first plugin for positioning ads around my site. I created one separate table where I store ads with all their options, such as position, expire date, active, name, type etc... But ...
0
votes
2answers
99 views
[Multisite]How can I update custom blog option?
I wanted to update custom blog option created thru Settings Api using the function update_blog_option. I created this code.
$country_base = get_blog_option($blog_id, 'mytheme_options');//retrieve ...
0
votes
1answer
152 views
Settings API - how to update options manually?
I'm storing all my options using Settings API:
function registerSettings() {
register_setting('XX_theme_settings', 'XX_theme_settings', 'setting_validate' );
add_settings_section('theme_options', ...