Plugin Directory

Changeset 504568


Ignore:
Timestamp:
02/14/2012 12:11:50 AM (14 years ago)
Author:
jacobgsp
Message:

fixed readme.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • custom-options/trunk/readme.txt

    r504566 r504568  
    1212Allows 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:
    1313
    14 `get_custom_option( $slug [, $default_value, $field ] )`.
     14`get_custom_option( $slug [, $default_value, $field ] )`
    1515
    1616By 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.