wpseo_sitemap_handler

Generate an HTML sitemap.

Description

(string) wpseo_sitemap_handler( (array) $atts ); 

Returns (string)

Parameters (1)

0. $atts (array)
The attributes passed to the shortcode.

Usage

  1. if ( !function_exists( 'wpseo_sitemap_handler' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'yoast-seo/inc/wpseo-functions-deprecated.php'; 
  3.  
  4. // The attributes passed to the shortcode. 
  5. $atts = array(); 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = wpseo_sitemap_handler($atts); 
  9.  

Defined (1)

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

/inc/wpseo-functions-deprecated.php  
  1. function wpseo_sitemap_handler( $atts ) { 
  2. _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.' ); 
  3.  
  4. return '';