add_settings_error Wordpress function


Description:

Register a settings error to be displayed to the user


Syntax:


Arguments:

(string) $setting Slug title of the setting to which this error applies
(string) $code Slug-name to identify the error. Used as part of 'id' attribute in HTML output.
(string) $message The formatted message text to display to the user (will be shown inside styled <div> and <p>)
(string) $type The type of message it is, controls HTML class. Use 'error' or 'updated'.


Return Type:


Define At:

wp-admin/includes/template.php


Wordpress Reference URL:

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


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