Hello,
I am using the Woodmart theme by XTemos and facing an issue with a specific WooCommerce trigger that I am trying to implement on my website. The trigger in question is as follows:
// Trigger the login event
$message = ‘<div class=”woocommerce-message”>logged_in</div>’;
$woocommerce_messages = array($message);
add_filter(‘woocommerce_add_message’, function() use ($woocommerce_messages) {
return $woocommerce_messages;
});
This trigger is intended to signal when a user logs in automatically, but it is not working properly on my site. I would like to know if the Woodmart theme is compatible with this specific trigger and if there are any theme settings or customizations that might be causing the issue.