3
votes
1answer
190 views

Performance with autoload and the options table

I am playing around with the autoload column of the options table. I didn't find much information about how the autoloaded values are used. I tried a print_r($GLOBALS) and saw that the autoloaded ...
0
votes
1answer
102 views

My first plugin doesn't save the data in options

This is my entire code. It doesn't save the data I enter on the plugin settings page. I don't have a clue on why this happens! Can somebody please help me? <?php // add the admin options page ...
0
votes
1answer
81 views

Ways of dealing with nested arrays within option

I stumbled upon one problem regarding too complicated(at least in my point of view) data structures stored in option field. Right now I have an array of collections and within each other there is ...
0
votes
3answers
252 views

Add Option if Not Exists

I need to see if an option, and if does, get the value. If not, I need to add it. The Codex provides: <?php $option_name = 'myhack_extraction_length' ; $new_value = '255' ; if ( get_option( ...
11
votes
2answers
1k 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?