get_settings_errors Wordpress function


Description:

Fetch settings errors registered by add_settings_error()


Syntax:


Arguments:

(string) $setting Optional slug title of a specific setting who's errors you want.
(boolean) $sanitize Whether to re-sanitize the setting value before returning errors.


Return Type:

(array) Array of settings errors


Define At:

wp-admin/includes/template.php


Wordpress Reference URL:

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


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