jetpack_sitemap_url, $item_array, $post->ID

jetpack_sitemap_url, $item_array, $post->ID

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_sitemap_url, $item_array, $post->ID') is found 1 times:

  • /modules/sitemaps/sitemap-builder.php line 1244
    		 *
    		 * @param array $tree Associative array representing sitemap URL element.
    		 * @param int   $post_id ID of the post being processed.
    		 */
    		$item_array = apply_filters( 'jetpack_sitemap_url', $item_array, $post->ID );
    
    		return array(
    			'xml'           => $item_array,
    			'last_modified' => $last_modified,
    		);
    	}