function refresh_all_rss() { include dirname(__FILE__) . '/../../../wp-blog-header.php'; $nb = $_REQUEST['nb']; $item_page = $_REQUEST['item_page']; return rss_parsing_html($nb, $item_page); }
function refresh_all_rss() { $nb = $_REQUEST['nb']; $item_page = $_REQUEST['item_page']; $resp = json_encode(rss_parsing_html($nb, $item_page)); echo $resp; exit; }