aioseo_html_sitemap_page_title

aioseo_html_sitemap_page_title

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

See hook in core

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

apply_filters('aioseo_html_sitemap_page_title') is found 1 times:

  • /app/Common/Sitemap/Html/Sitemap.php line 129
    			$fakePost->ID             = $postId;
    			$fakePost->post_author    = 1;
    			$fakePost->post_date      = current_time( 'mysql' );
    			$fakePost->post_date_gmt  = current_time( 'mysql', 1 );
    			$fakePost->post_title     = apply_filters( 'aioseo_html_sitemap_page_title', __( 'Sitemap', 'all-in-one-seo-pack' ) );
    			$fakePost->post_content   = '[aioseo_html_sitemap archives=false]';
    			// We're using post instead of page to prevent calls to get_ancestors(), which will trigger errors.
    			// To loead the page template, we set is_page to true on the WP_Query object.
    			$fakePost->post_type      = 'post';
    			$fakePost->post_status    = 'publish';
    			$fakePost->comment_status = 'closed';