wp_sitemaps_index_entry

wp_sitemaps_index_entry

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('wp_sitemaps_index_entry') is found 1 times:

  • /wp-includes/sitemaps/class-wp-sitemaps-provider.php line 128
    				 * @param string $object_subtype Object subtype name.
    				 *                               Empty string if the object type does not support subtypes.
    				 * @param int    $page           Page number of results.
    				 */
    				$sitemap_entry = apply_filters( 'wp_sitemaps_index_entry', $sitemap_entry, $this->object_type, $type['name'], $page );
    
    				$sitemaps[] = $sitemap_entry;
    			}
    		}
    
    		return $sitemaps;