Support » Fixing WordPress » get_settings options
11 years, 2 months ago
I searched this site and google for the answer to this, but couldn’t find it.
Does anyone know what all the php get_settings options are?
I know get_settings(‘home’) will give you the URL of the site.
I know get_settings(‘template’) will give you the name of the theme.
Is there a list of all possibilities somewhere?
If I understand right, get_settings (and get_options) return values from your wp_options table using the ‘option_name’ field. The easiest way to get a list of options is to view the file ‘options.php’
By the way, the get_settings page in the Codex needs some love if anyone has time to spare.
I definitely asked in the right place, because your answer was perfect! Thank you! 🙂