‘product’,
‘posts_per_page’ => -1
);
$loop = new WP_Query( $args );
if ( $loop->have_posts() ) {
while ( $loop->have_posts() ) : $loop->the_post();
$productID = get_the_ID();
echo $productID .”
“;
}
echo “hello world “;
?>