Browsing hooks for feature: Sitemaps


    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 associative array with data to build node and its descendants for current post in news sitemap.

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


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

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


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

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


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


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

    Source: modules/sitemaps/sitemaps.php:676


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

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


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

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


    hook (filter): Filter associative array with data to build node and its descendants for site home.

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


    hook (filter): Filter sitemap URL item before rendering it as XML. View Example

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