Browsing hooks for feature: Sitemaps

    jetpack_sitemap_video_skip_post

    hook (filter): Filter condition to allow skipping specific image posts in the sitemap.

    Source: modules/sitemaps/sitemap-builder.php:1144

    jetpack_sitemap_video_sitemap_item

    hook (filter): Filter associative array with data to build node and its descendants for current post in video sitemap.

    Source: modules/sitemaps/sitemap-builder.php:1192

    jetpack_sitemap_image_skip_post

    hook (filter): Filter condition to allow skipping specific image posts in the sitemap.

    Source: modules/sitemaps/sitemap-builder.php:1069

    jetpack_sitemap_image_sitemap_item

    hook (filter): Filter associative array with data to build node and its descendants for current post in image sitemap.

    Source: modules/sitemaps/sitemap-builder.php:1107

    jetpack_sitemap_image_ns

    hook (filter): Filter the XML namespaces included in image sitemaps.

    Source: modules/sitemaps/sitemap-buffer-image-fallback.php:31

    jetpack_sitemap_video_ns

    hook (filter): Filter the XML namespaces included in video sitemaps.

    Source: modules/sitemaps/sitemap-buffer-video-fallback.php:31

    jetpack_sitemap_news_ns

    hook (filter): Filter the attribute value pairs used for namespace and namespace URI mappings.

    Source: modules/sitemaps/sitemap-buffer-news.php:46

    jetpack_news_sitemap_generate

    hook (filter): Filter whether to make the news sitemap discoverable to robots or not. Default true.

    Source: modules/sitemaps/sitemaps.php:422

    jetpack_sitemap_generate

    hook (filter): Filter whether to make the default sitemap discoverable to robots or not. Default true.

    Source: modules/sitemaps/sitemaps.php:407

    jetpack_sitemap_location

    hook (filter): Additional path for sitemap URIs. Default value is empty.<p>This string is any additional path fragment you want included between the home URL and the sitemap filenames. Exactly how this fragment is interpreted depends on your permalink settings. For example:</p> <p>Pretty permalinks:</p> <pre><code>home_url() . jetpack_sitemap_location . '/sitemap.xml'</code></pre> <p>Plain ("ugly") permalinks:</p> <pre><code>home_url() . jetpack_sitemap_location . '/?jetpack-sitemap=sitemap.xml'</code></pre> <p>PATHINFO permalinks:</p> <pre><code>home_url() . '/index.php' . jetpack_sitemap_location . '/sitemap.xml'</code></pre> <p>where 'sitemap.xml' is the name of a specific sitemap file. The value of this filter must be a valid path fragment per RFC 3986; in particular it must either be empty or begin with a '/'. Also take care that any restrictions on sitemap location imposed by the sitemap protocol are satisfied.</p> <p>The result of this filter is stored in an option, 'jetpack_sitemap_location'; that option is what gets read when the sitemap location is needed. This way we don't have to wait for init to finish before building sitemaps.</p>

    Source: modules/sitemaps/sitemaps.php:493