sm_build_index

sm_build_index

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_index') is found 2 times:

  • /sitemap-core.php line 1777
     
    		$this->sim_mode = true;
    
    		require_once trailingslashit( dirname( __FILE__ ) ) . 'class-googlesitemapgeneratorstandardbuilder.php';
    		do_action( 'sm_build_index', $this );
    
    		$this->sim_mode = false;
    
    		$r = $this->sim_data['sitemaps'];
    
    		$this->clear_sim_data( 'sitemaps' );
    
  • /sitemap-core.php line 1947
    		if ( empty( $options['params'] ) || 'index' === $options['params'] ) {
    
    			$this->build_sitemap_header( 'index' );
    
    			do_action( 'sm_build_index', $this );
    
    			$this->build_sitemap_footer( 'index' );
    			$this->add_end_commend( $start_time, $start_queries, $start_memory );
    		} else {
    			$all_params = $options['params'];
    			$type       = null;
    

See this hook used in plugins: