sm_xml_sitemap_post_url

sm_xml_sitemap_post_url

Hook Type: filter

See hook in core

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

apply_filters('sm_xml_sitemap_post_url') is found 1 times:

  • /class-googlesitemapgeneratorstandardbuilder.php line 268
    				foreach ( $posts as $post ) {
    
    					$permalink = get_permalink( $post );
    
    					$permalink = apply_filters( 'sm_xml_sitemap_post_url', $permalink, $post );
    
    					if(count($siteLanguages) > 0){
    
    						$structurekArr = explode('/', get_option('permalink_structure'));
    						$postLinkArr = explode('/', $permalink);