add_settings_error Wordpress function


Register a settings error to be displayed to the user



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


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 ×