Skip to content
Status301 Premium

Premium WordPress Plugins and Support

Cart total: €0.00
Menu
  • WordPress plugins
  • Your Account
  • Support
    • Knowledge Base
    • Forums
    • Email support
  • Contact

Filter Hooks

xmlsf_news_excluded

RavanH 21 April 202321 April 2023

Filters the response when checking the post for exclusion flags in Google News sitemap context. Passes the post exclusion flag and $post_id; must return true or false. Used in xml-sitemap-feed/views/feed-sitemap-news.php Parameters (2) Return The filter should…

Continue reading →

Filter Hooks

xmlsf_news_keywords

RavanH 7 April 20237 April 2023

Filters the news keywords array. Passes the post exclusion flag and $post_id; must return an array. Used in xml-sitemap-feed/views/feed-sitemap-news.php Parameters (2) Return The filter should return an array with keywords for the current post. Usage example…

Continue reading →

Filter Hooks

xmlsf_excluded

RavanH 22 February 202317 September 2023

Filters the response when checking the post for exclusion flags in XML Sitemap context. Passes the post exclusion flag and $post_id; must return true or false. Used in xml-sitemap-feed/views/feed-sitemap-posttype.php Parameters (2) Return The filter should return…

Continue reading →

Filter Hooks

xmlsf_news_language

RavanH 2 June 20222 June 2022

Filters the post language code used in the news sitemap. Passes additional variables $post_id and $post_type; Used in xml-sitemap-feed/views/feed-sitemap-news.php Parameters (3) $locale(string) Site language taken from get_bloginfo(‘language’) or from Polylang or WPML post data. Usually…

Continue reading →

Filter Hooks
Support Forums
  • CoolClock Pro
  • Easy FancyBox Pro
  • XML Sitemap & Google News
Documentation
  • Knowledge Base
    • Easy FancyBox
    • CoolClock
    • XML Sitemap & Google News
Premium WordPress Plugins and Support - Status301 Premium © 2023