wpseo_sitemap_stylesheet_cache_ . $type, $this

wpseo_sitemap_stylesheet_cache_ . $type, $this

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-seo.28.1

do_action('wpseo_sitemap_stylesheet_cache_ . $type, $this') is found 1 times:

  • /inc/sitemaps/class-sitemaps.php line 314
    		 * Fires before the attempt to retrieve XML sitemap from the transient cache.
    		 *
    		 * @param WPSEO_Sitemaps $sitemaps Sitemaps object.
    		 */
    		do_action( 'wpseo_sitemap_stylesheet_cache_' . $type, $this );
    
    		$sitemap_cache_data = $this->cache->get_sitemap_data( $type, $page_number );
    
    		// No cache was found, refresh it because cache is enabled.
    		if ( empty( $sitemap_cache_data ) ) {
    			return $this->refresh_sitemap_cache( $type, $page_number );