Location: PHPKode > scripts > WH Social > wh_social/framework/functions/welcoming.php
<?php

    $time_of_day = date('H');
 
    if($time_of_day < 12) {
        $greeting = $lang['good_morning'];

    }elseif ($time_of_day >= 12 && $time_of_day < 18){
        $greeting = $lang['good_day'];

    }elseif ($time_of_day >= 18 && $time_of_day < 22){
        $greeting = $lang['good_evening'];

    }else{
        $greeting = $lang['good_night'];
        }

?>
Return current item: WH Social