gglstmp_update_sitemap

The Google Sitemap by BestWebSoft gglstmp update sitemap function.

Description

gglstmp_update_sitemap( $post_id ); 

Parameters (1)

0. $post_id
The post id.

Usage

  1. if ( !function_exists( 'gglstmp_update_sitemap' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-sitemap-by-bestwebsoft/google-sitemap-plugin.php'; 
  3.  
  4. // The post id. 
  5. $post_id = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = gglstmp_update_sitemap($post_id); 
  9.  

Defined (1)

The function is defined in the following location(s).

/google-sitemap-plugin.php  
  1. function gglstmp_update_sitemap( $post_id ) { 
  2. if ( ! wp_is_post_revision( $post_id ) ) { 
  3. global $gglstmp_update_sitemap; 
  4. if ( true === $gglstmp_update_sitemap ) {