/**
* Return a comma-separated list of random published WooCommerce product IDs.
*/
if ( ! function_exists( 'get_random_product_ids' ) ) {
function get_random_product_ids( $limit = 6 ) {
$args = array(
'post_type' => 'product',
'posts_per_page' => absint( $limit ),
'orderby' => 'rand',
'fields' => 'ids',
'post_status' => 'publish',
);
$random_ids = get_posts( $args );
return implode( ',', $random_ids );
}
}
Burqa cutting & stitching easy method Archives - Dubai-Fashions.com
Dubai-Fashions.com
All posts tagged "Burqa cutting & stitching easy method"
To Top