Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bb_get_option_{option_name} noob questions

Hmm and where is the data stored at the moment (i see no options table)…

Did some reading, very interesting! So if I re-write my bbPortal plugin, I can use the bb_get_option instead of those long sql queries for creating a new table etc. Just make sure that the name is unique, right? For now I just have to variables ($pforum_id and $number_of_topics) so I can use these with the bb_get and update functions.

What about bb_get_option_{$option_name} and bb_get_option_from_db_{$option_name}? Isn’t from_db always faster? (cause you skip all other checks), or isn’t the speed of any influence? When would one use the first function and when the second?

Skip to toolbar