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.8.1.1

apply_filters('aioseo_html_sitemap_date_format') is found 1 times:

  • /app/Common/Sitemap/Html/Frontend.php line 85
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    * @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.