sm_addurl

sm_addurl

Hook Type: action

See hook in core

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

do_action('sm_addurl') is found 1 times:

  • /sitemap-core.php line 2203
    			$last_mod = 0;
    		}
    		$page = new GoogleSitemapGeneratorPage( $loc, $priority, $change_freq, $last_mod, $post_id );
    
    		do_action( 'sm_addurl', $page );
    
    		if ( $this->sim_mode ) {
    			// phpcs:disable WordPress.PHP.DevelopmentFunctions
    			$caller = $this->get_external_backtrace( debug_backtrace() );
    			// phpcs:enable
    			$this->sim_data['content'][] = array(