0
votes
0answers
22 views

Custom options page, add_options_page deprecated?

I'm trying to create a page in my theme to allow users to add generic info (phone numbers etc) I followed a tutorial and thought I had something good but it turns out part of it is deprecated. So ...
0
votes
2answers
47 views

meta fields for the whole wordpress site

Is there a simple way to store additional information related to the whole website in a meta field? For users, comments or posts, I learned how to use meta fields to store their additional related ...
0
votes
1answer
58 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
92 views

update_option using variable name

Title may not be clear but I'm using update_option($my_option, $new_order); and for some reason it would not work but if instead I change to update_option('my-option-name' $new_order); it works. I ...
12
votes
2answers
2k views

Are all options loaded to memory on each request?

Are all options variables fetched from the database and loaded to cache on each request?