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
    1797
    1798
    1799
    1800
    1801
    1802
    1803
    1804
    1805
    1806
    1807
    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
    1960
    1961
    1962
    1963
    1964
    1965
    1966
    1967
    1968
    1969
        }
     
        $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: