-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,25 @@ | ||
Adds an options page to the admin with a few default fields. Also provides a simple API for adding more settings to the options page through `Sleek\Settings\add_setting($name, $type, $label)` and `Sleek\Settings\get_setting($name)`. | ||
# Sleek Settings | ||
|
||
Adds an options page to the admin (Settings -> Sleek) with two fields: `head_code` and `foot_code` which allows you to add arbitrary HTML to `<head>` and just before `</body>`. Also provides a simple API to add more settings fields to the options page. | ||
|
||
## Theme Support | ||
|
||
N/A | ||
|
||
## Hooks | ||
|
||
N/A | ||
|
||
## Functions | ||
|
||
### `Sleek\Settings\add_setting($name, $type, $label)` | ||
|
||
Add a new settings field to the options page. | ||
|
||
### `Sleek\Settings\get_setting($name)` | ||
|
||
Get value of setting. | ||
|
||
## Classes | ||
|
||
N/A |