powerbuoy / sleek-settings
Adds an options page to the admin (Settings -> Sleek) with some built-in settings.
Installs: 1 821
Dependents: 4
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- powerbuoy/sleek-utils: ^1.0.0
README
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