Created
May 31, 2016 15:50
-
-
Save simistern/d0d6c1fc53256d0b7ba1cca8ae4c2533 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$args = array( 'post_type' => 'product', 'posts_per_page' => 10, 'product_cat' => 'Super Soaker' ); | |
$products = get_posts( $args ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment