Hook to work properly with wpml
-
I have a website with multiple languages with the plugin wpml. In my case i need to change the args for the query on your functions: “get_total_featured_count” and “get_other_posts”.
Because, when i change the featured post, in a language, i just want to count the featured on that language and also unselect the other posts, on that language to. For that i need to add to the query args:
'suppress_filters' => false,
It would be awesome if you could add a filter to change the args if needed on, at least, those 2 functions.
- The topic ‘Hook to work properly with wpml’ is closed to new replies.