It seems the authors that are not set to primary on any blog post are excluded from the XML sitemap.
Looks like there's a rank_math/sitemap/author/query filter, but this only amends the args that are passed to get_users() (which uses WP_User_Query() internally). See seo-by-rank-math/includes/modules/sitemap/providers/class-author.php.
If Author Archives are Enabled, and set to Index (default is Enabled but No Index) in Titles and Meta, then Rank Math creates a /author-sitemap.xml page, which looks like:
(From: https://wordpress.org/support/topic/secondary-author-does-not-show-up-in-sitemap/)
Looks like there's a
rank_math/sitemap/author/query
filter, but this only amends the args that are passed toget_users()
(which usesWP_User_Query()
internally). Seeseo-by-rank-math/includes/modules/sitemap/providers/class-author.php
.If Author Archives are Enabled, and set to Index (default is Enabled but No Index) in Titles and Meta, then Rank Math creates a
/author-sitemap.xml
page, which looks like:The markup for a row looks like: