Changeset 504568
- Timestamp:
- 02/14/2012 12:11:50 AM (14 years ago)
- File:
-
- 1 edited
-
custom-options/trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
custom-options/trunk/readme.txt
r504566 r504568 12 12 Allows you to create custom options that you can easily update via the `Options` administration panel and also allows you to use mentioned options in your theme using a simple PHP function: 13 13 14 `get_custom_option( $slug [, $default_value, $field ] )` .14 `get_custom_option( $slug [, $default_value, $field ] )` 15 15 16 16 By default, only Administrators can change Custom Options, however you can use the filter `gsp_custom_options_capability` to change that. For example, if you wish to allow Editors to use Custom Options you can add this to your functions.php file:
Note: See TracChangeset
for help on using the changeset viewer.