Is it necessary to reset the query after using get_posts()?

No. get_posts() does not modify global $wp_query variable and it doesn’t need to be cleaned up.

Note that if you further use setup_postdata() you do need to wp_reset_postdata() afterwards.

Leave a Comment

techhipbettruvabetnorabahisbahis forumutaraftarium24eduseduseduedusedusedusedueduseduedu