Created
January 28, 2013 01:13
-
-
Save LinzardMac/4651920 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
public function get_all_recent_two() { | |
global $json_api; | |
$args= array( | |
'post_type' => array( 'post', 'imported_content') | |
); | |
$wp_query = new WP_Query($args); | |
$posts = $json_api->introspector->get_posts();; | |
return $posts; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment