I'm not using the full settings api, just this code:
register_setting( 'my_options', 'my_options', 'my_options_validate' );
Then my validation:
$options = get_option('my_options');
if(error_found){
add_settings_error( 'my_options', 'settings_updated', 'error_message_here', 'error');
}
return $options;
But on postback no errors are displayed. So my questions are:
does simply setting an error message result in its display? do I have to use the full settings api to have errors displayed? do I have do anything to disable the "settings updated" message on postback?
I've tried using settings_errors but no errors show.