Function xu_get_posts
Cached version of get_posts
.
See:
See: https://10up.github.io/Engineering-Best-Practices/php/#performance
See: https://vip.wordpress.com/documentation/caching/uncached-functions/
Located at lib/post.php
https://developer.wordpress.org/reference/functions/get_posts/
Think before using get_posts
since it can be bad.
See: https://10up.github.io/Engineering-Best-Practices/php/#performance
See: https://vip.wordpress.com/documentation/caching/uncached-functions/
Located at lib/post.php
array |
$args = null |
array
|
array |