wp_sitemaps_post_types

wp_sitemaps_post_types

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('wp_sitemaps_post_types') is found 1 times:

  • /wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php line 49
    		 * @since 5.5.0
    		 *
    		 * @param WP_Post_Type[] $post_types Array of registered post type objects keyed by their name.
    		 */
    		return apply_filters( 'wp_sitemaps_post_types', $post_types );
    	}
    
    	/**
    	 * Gets a URL list for a post type sitemap.
    	 *
    	 * @since 5.5.0