Change after how many milliseconds any notifications disappear.

 * Add or filter (specific) classes.
 * @param array $classes Array of HTML class names.
function my_prefix_notification_delay( $classes ) {
        // Change time to 8 seconds.
	return '8000';
add_filter( 'cartpops_notification_remove_delay', 'my_prefix_notification_delay', 10, 1 );

It's time to improve your WooCommerce Cart

CartPops is a WooCommerce Add To Cart Popup, that helps every shop owner improve their user experience, increase conversions & maximize profits.

Was this page helpful?