Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarpsvo committed Aug 13, 2019
1 parent 11fc66d commit bcae951
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,11 @@ If you want the value of the setting to be formatted before it's returned, pass
```

### Helper functions

#### nova_get_settings()

Call `nova_get_settings()` to get all the settings formated as a regular array.

#### nova_get_setting_value(\$key)

To get a single setting's value, call `nova_get_setting_value('some_setting_key')`. It will return either a value or null if the key is missing.

0 comments on commit bcae951

Please sign in to comment.