WP_Query Generator August 12, 2021 Public Shahin Fard Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone product // WP_Query arguments $args = array( 'post_type' => array( 'product' ), ); // The Query $query = new WP_Query( $args );