aioseo_html_sitemap_date_format

aioseo_html_sitemap_date_format

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.4.5.9.2

apply_filters('aioseo_html_sitemap_date_format') is found 1 times:

  • /app/Common/Sitemap/Html/Frontend.php line 85
    	 * @param  string $date The date that should be formatted.
    	 * @return string       The formatted date.
    	 */
    	private function formatDate( $date ) {
    		$dateFormat = apply_filters( 'aioseo_html_sitemap_date_format', get_option( 'date_format' ) );
    
    		return date_i18n( $dateFormat, strtotime( $date ) );
    	}
    
    	/**
    	 * Returns the posts of a given post type that should be included.