get_settings options (3 posts)

  1. friend_of_grommit
    Posted 10 years 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?


  2. Ming
    Posted 10 years ago #

    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.

  3. friend_of_grommit
    Posted 10 years ago #

    I definitely asked in the right place, because your answer was perfect! Thank you! :)

Topic Closed

This topic has been closed to new replies.

About this Topic