Use php date function and minus (-1) days from today’s date
$smart_yesterday = strtotime(date(‘Y-m-d’, strtotime( ‘-1 days’)));
Use php date function and minus (-1) days from today’s date
$smart_yesterday = strtotime(date(‘Y-m-d’, strtotime( ‘-1 days’)));