apply_filters( 'simple_google_news_sitemap_post', $item, $post_type ) → {array}
Filter an individual item before it goes to the sitemap.
This can be used to modify a specific item or remove an item all together.
Parameters:
Name | Type | Description |
---|---|---|
$item |
array | The item that will be displayed. |
$post_type |
string | The post type of the item. |
- Since:
- 1.0.0
- Source:
Returns:
The item that will be displayed.
- Type
- array