aioseop_format_date

Need help with this?
Purchase All in One SEO Pack Pro to get dedicated support from us.

Buy Now

The following filter hook can be used to change the date format used by the %current_date% and %post_date% macros for titles (https://semperplugins.com/documentation/title-settings/#title-format-fields):

add_filter( 'aioseop_format_date', 'custom_date_format', 10, 3); 

function custom_date_format( $formatted_date, $date, $form ) { 
	$formatted_date = date_i18n( 'l, F j, Y g:i a', $date );
	return $formatted_date;
}
[i]
[i]
Skip to toolbar