Hello,
Thank you for contacting Rank Math today.
You can check the implementation of this function in more detail from the actual code of our plugin starting on line 163 of the following file: wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/providers/class-post-type.php
In case you want to see an example of such implementation you can check this one that we created: https://pastebin.com/iReeXQWN
Don’t hesitate to get in touch if you have any other questions.
Thanks for your reply i have done it by another way. your plugin is awesome every option available in there. Thanks you for your support.
Hello,
We’re glad that you got that sorted.
Please feel free to get in touch if you require any further assistance.
Thank you.