aioseo_sitemap_ping_urls

aioseo_sitemap_ping_urls

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

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.4.5.9.2

apply_filters('aioseo_sitemap_ping_urls') is found 1 times:

  • /app/Common/Sitemap/Ping.php line 92
    	 * @param  array $sitemapUrls Sitemap URLs that should be sent to the remote endpoints.
    	 * @return void
    	 */
    	public function ping( $sitemapUrls = [] ) {
    		$endpoints = apply_filters( 'aioseo_sitemap_ping_urls', [
    			'https://www.google.com/ping?sitemap='
    		] );
    
    		if ( aioseo()->options->sitemap->general->enable ) {
    			$sitemapUrls[] = aioseo()->sitemap->helpers->getUrl( 'general' );
    		}