News SEO API

The News SEO plugin has a couple of filters you can use to modify its usage, they’re listed below:

Global

wpseo_news_options

Parameter 1: $options array, the plugins options

Allows filtering of the plugins options.

Frontend

wpseo_news_head_display_keywords

Parameter 1: boolean, defaults to true
Parameter 2: $post object

When you return false, no news_keywords meta tag will be put out.

wpseo_news_head_display_original

Parameter 1: boolean, defaults to true
Parameter 2: $post object

When you return false, no original-source meta tag will be put out.

wpseo_news_head_display_standout

Parameter 1: boolean, defaults to true
Parameter 2: $post object

When you return false, no standout tag will be put out.

XML News Sitemap

wpseo_xml_sitemap_img_src

Parameter 1: $src string, the source URL of the image
Parameter 2: $post object

Allows changing of the image URL, for instance to point images at a CDN. This exact same filter is used in WordPress SEO.