sm_sitemap_for_post

sm_sitemap_for_post

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

apply_filters('sm_sitemap_for_post') is found 1 times:

  • /sitemap-core.php line 1864
    			require_once(trailingslashit(dirname(__FILE__)) . "sitemap-builder.php");
    
    			$urls = array();
    
    			$urls = apply_filters('sm_sitemap_for_post',$urls, $this, $postID);
    			if(is_array($urls) && count($urls)>0) {
    				foreach($urls AS $url) $this->ExecutePing($url, false);
    			}
    
    			delete_transient('sm_ping_post_id');
    		}
    

See this hook used in plugins: