/** * Utility to query slides * * @param array $args Array of arguments formulated to pass to the WP_Query class constructor * @returns an array of WP_Query results with rli_slide posts * * @uses rli_library_get_custom_posts() * @since version 0.4 */ function rli_slideshow_get_slides($args = array()) { return rli_library_get_custom_posts('rli_slide', $args); }
/** * Utility to query testimonials * * @param array $args Array of arguments formulated to pass to the WP_Query class constructor * @returns an array of WP_Query results with rli_testimonial posts * * @uses rli_library_get_custom_posts() * @since version 0.4 */ function rli_testimonial_query_testimonials($args = array()) { return rli_library_get_custom_posts('rli_testimonial', $args); }