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.7.4.2

apply_filters('aioseo_sitemap_ping_urls') is found 1 times:

  • /app/Common/Sitemap/Ping.php line 92
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    * @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', [
        ] );
     
        if ( aioseo()->options->sitemap->general->enable ) {
            $sitemapUrls[] = aioseo()->sitemap->helpers->getUrl( 'general' );
        }