post_date); // Return the Jalali date return $jalali_date; } } // Instantiate the class $wpJalaliDates = new AG_Jalali_Date();