wpseo_sitemap_index_links

wpseo_sitemap_index_links

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.24.1

apply_filters('wpseo_sitemap_index_links') is found 1 times:

  • /inc/sitemaps/class-sitemaps.php line 422
    		 * Filter the sitemap links array before the index sitemap is built.
    		 *
    		 * @param array  $links Array of sitemap links
    		 */
    		$links = apply_filters( 'wpseo_sitemap_index_links', $links );
    
    		if ( empty( $links ) ) {
    			$this->bad_sitemap = true;
    			$this->sitemap     = '';
    
    			return;