public static function get_posts($args)
{
// Get the posts.
$posts = get_posts($args);
// Properly format the array.
$items = array();
foreach ($posts as $post) {
$items[$post->ID] = $post->post_title;
}
return $items;
}