kreamweb
1/28/2016 - 2:38 PM

YITH WooCommerce Social Login Wp Engine Fix

YITH WooCommerce Social Login Wp Engine Fix

<?php 
function ywsl_process_login_start()
{
    setcookie( LOGGED_IN_COOKIE, md5(rand()), time()+15, preg_replace('|https?://[^/]+|i', '', YITH_YWSL_HYBRID_URL ) );
}
add_filter( 'ywsl_process_login_start', 'ywsl_process_login_start' );
?>