function handle_postinfo($atts, $template = '', $code = "") { return rhc_post_info_shortcode::handle_shortcode($atts, $template, $code); }
function extended_details() { global $post; $output = '<div>'; $ids = isset($_REQUEST['ids']) && is_array($_REQUEST['ids']) ? $_REQUEST['ids'] : array(); if (!empty($ids)) { foreach ($ids as $id) { $arr = explode('-', $id); if (count($arr) == '2') { if (defined('RHP_PATH')) { $post = get_post($arr[0]); //social panel needs the real thing loaded. } else { $post = (object) array('ID' => $arr[0], 'post_type' => $arr[1]); } $output .= rhc_post_info_shortcode::handle_shortcode(array('class' => 'se-dbox ' . $id)); } } } $output .= '</div>'; //sleep(3); $this->send_response($output, 'html'); }