register_setting Wordpress function


Description:

Register a setting and its sanitization callback


Syntax:


Arguments:

(string) $option_group A settings group name. Should correspond to a whitelisted option key name. Default whitelisted option key names include "general," "discussion," and "reading," among others.
(string) $option_name The name of an option to sanitize and save.
(unknown_type) $sanitize_callback A callback function that sanitizes the option's value.


Return Type:

(unknown)


Define At:

wp-admin/includes/plugin.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/register_setting


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×