wpseo_sitemap

The Yoast SEO wpseo sitemap shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[wpseo_sitemap]'); 
  1. // variable usage 
  2. $result = do_shortcode('[wpseo_sitemap]'); 
  3. echo $result;  

Defined (1)

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

/inc/wpseo-functions-deprecated.php  
  1. _deprecated_function( __FUNCTION__, 'WPSEO 1.5.5.4', 'Functionality has been discontinued after being in beta, it\'ll be available in the Yoast SEO Premium plugin soon.' ); 
  2.  
  3. return ''; 
  4.  
  5. add_shortcode( 'wpseo_sitemap', 'wpseo_sitemap_handler' ); 
  6.  
  7. /** 
  8. * Strip out the shortcodes with a filthy regex, because people don't properly register their shortcodes. 
  9. * @deprecated 1.6.1