sm_sitemap_for_post

sm_sitemap_for_post

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: google-sitemap-generator.4.1.9

apply_filters('sm_sitemap_for_post') is found 1 times:

  • /sitemap-core.php line 2272
    			require_once trailingslashit( dirname( __FILE__ ) ) . 'class-googlesitemapgeneratorstandardbuilder.php';
    
    			$urls = array();
    
    			$urls = apply_filters( 'sm_sitemap_for_post', $urls, $this, $post_id );
    			if ( is_array( $urls ) && count( $urls ) > 0 ) {
    				foreach ( $urls as $url ) {
    					$this->execute_ping( $url, false );
    				}
    			}
    
    

See this hook used in plugins: