• Resolved eddie

    (@ediet)


    Hello,
    I need to make a filter. Can you please tell me which add_filter parameter to specify for sitemap-news.xml?

    add_filter( ‘???‘, ‘function_name’ );

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter eddie

    (@ediet)

    @ravanh Thank you!
    It works like this) Thank you for taking so much of your time! Very grateful to you.

    Everything works. Only for some reason, the Chinese Simplified is output zh-cn. But all the rest are the first 2 characters of the locale.

    Good to hear it is working correctly now ??

    And yes, that includes zh-cn because that is one of the two exceptions: it is the expected output for Chinese simplified.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘add_filter’ is closed to new replies.