Browsing hooks for feature: Sitemaps


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

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


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

    Source: modules/sitemaps/sitemaps.php:458


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

    Source: modules/sitemaps/sitemaps.php:443


    hook (filter): Filter limit of entries to include in news sitemap.

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


    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:553


    hook (filter): Filter news sitemap URL relative to home URL.

    Source: modules/sitemaps/sitemaps.php:676


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

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


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

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


    hook (filter): Filter post types to be included in news sitemap.

    Source: modules/sitemaps/sitemap-librarian.php:407


    hook (filter): Filter sitemap before rendering it as XML.

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