sm_build_content

sm_build_content

Hook Type: action
See hook in action

See hook in core

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

do_action('sm_build_content') is found 2 times:

  • /sitemap-core.php line 1801
    	public function simulate_sitemap( $type, $params ) {
    		$this->sim_mode = true;
    
    		require_once trailingslashit( dirname( __FILE__ ) ) . 'class-googlesitemapgeneratorstandardbuilder.php';
    		do_action( 'sm_build_content', $this, $type, $params );
    
    		$this->sim_mode = false;
    
    		$r = $this->sim_data['content'];
    
    		$this->clear_sim_data( 'content' );
    
  • /sitemap-core.php line 1964
    			}
    
    			$this->build_sitemap_header( 'sitemap' );
    
    			do_action( 'sm_build_content', $this, $type, $params );
    
    			$this->build_sitemap_footer( 'sitemap' );
    
    			$this->add_end_commend( $start_time, $start_queries, $start_memory );
    		}
    
    

See this hook used in plugins: