Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions inc/sitemaps/class-post-type-sitemap-provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ public function get_sitemap_links( $type, $max_entries, $current_page ) {
/**
* Filter URL entry before it gets added to the sitemap.
*
* @param array $url Array of URL parts.
* @param string $type URL type.
* @param object $post Data object for the URL.
* @param array $url Array of URL entry data, e.g. `loc`, `mod`, `chf` and `pri`.
* @param string $type The object type: `post`, `user` or `term`.
* @param object $post The object the entry is for: a WP_Post, WP_User or WP_Term.
*/
$url = apply_filters( 'wpseo_sitemap_entry', $url, 'post', $post );

Expand Down
Loading