PHP 8.1
$current_method_title = shipping %a (%d %b from %H:%M) // this is from settings in my admin.
PHP Code:
// Add any information specified about a shipping date/time
if (!is_null($method_instance['timestamp'])) {
$current_method_title = strftime($current_method_title,
$method_instance['timestamp']);
} else{ something}
with the above I'm getting PHP Deprecated: Function strftime() is deprecated and I can only ether fix it to display only the text element or fix the date time element but then don't get text and date time how do I fix this please?
Bookmarks