WP_Query Generator July 11, 2023 Public Mahesh Mahesh Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone Test // WP_Query arguments $args = array( 'post_type' => array( 'test' ), ); // The Query $query = new WP_Query( $args );