2 Replies
Nov 18, 2023 9:28 am
Hi @jorgew,
The error message duration is currently set 8 seconds. You can manage them using following hook codes in a PHP code snippet of the Code Snippets plugin:
function custom_wpforo_error_message_duration( $duration_in_milliseconds ){ $duration_in_milliseconds = 10000; //10 seconds. 1000 is one second return $duration_in_milliseconds; } add_filter( 'wpforo_notice_timeout_error', 'custom_wpforo_error_message_duration', 11); function custom_wpforo_success_message_duration( $duration_in_milliseconds ){ $duration_in_milliseconds = 10000; //10 seconds. 1000 is one second return $duration_in_milliseconds; } add_filter( 'wpforo_notice_timeout_success', 'custom_wpforo_success_message_duration', 11);