How to remove time from publication date

Change publication date format from 

January 3, 2017 at 12:39 pm


January 3, 2017
using this code
add_filter( 'feedzy_meta_output', 'tifd_fix_meta_output' );

function tifd_fix_meta_output( $content ) {
	//Change publication date from 
	return str_replace( 'on', '', substr( $content, 0, strpos( $content, 'at' ) ) );
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us