add_option_update_handler Wordpress function


Register a setting and its sanitization callback



(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:


Define At:


Wordpress Reference URL:

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