sm_addsitemap

sm_addsitemap

Hook Type: action
See hook in
Displaying hooks found in version: google-sitemap-generator.4.1.0

do_action('sm_addsitemap') is found 1 times:

  • /sitemap-core.php line 1830
    		$url = $this->GetXmlUrl($type, $params);
    
    		$sitemap = new GoogleSitemapGeneratorSitemapEntry($url, $lastMod);
    
    		do_action('sm_addsitemap', $sitemap);
    
    		if($this->simMode) {
    			$caller = $this->GetExternalBacktrace(debug_backtrace());
    			$this->simData["sitemaps"][] = array("data" => $sitemap, "type" => $type, "params" => $params, "caller" => $caller);
    		} else {
    			$this->AddElement($sitemap);