From 2de4de8e6e29ffb4b031d4aea271c50532ccdf90 Mon Sep 17 00:00:00 2001 From: Gilbert Pellegrom Date: Tue, 8 Jul 2014 10:30:38 +0100 Subject: [PATCH] Updating docs. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 772d813..317dd39 100644 --- a/README.md +++ b/README.md @@ -140,19 +140,19 @@ Creates a new settings [option_group](http://codex.wordpress.org/Function_Refere * `$settings_file` - path to the settings file * `$option_group` - optional "option_group" override (by default this will be set to the basename of the settings file) - wpsf_get_option_group( $settings_file ) +
wpsf_get_option_group( $settings_file )
Converts the settings file name to option group id * `$settings_file` - path to the settings file - wpsf_get_settings( $option_group ) +
wpsf_get_settings( $option_group )
Get an array of settings by the option group id * `$option_group` - option group id - wpsf_get_setting( $option_group, $section_id, $field_id ) +
wpsf_get_setting( $option_group, $section_id, $field_id )
Get a setting from an option group @@ -162,7 +162,7 @@ Get a setting from an option group Note: You can use `wpsf_get_option_group()` to get the option group id from the settings file path. - wpsf_delete_settings( $option_group ) +
wpsf_delete_settings( $option_group )
Delete all the saved settings from a option group