'wplt_tick', 'posts_per_page' => '-1', 'tax_query' => array( array( 'taxonomy' => 'wplt_ticker', 'field' => 'slug', 'terms' => $slug ) ) ); $wp_query = new WP_Query($args); $output = ''; while ($wp_query->have_posts()) : $wp_query->the_post(); $output .= '
  • '.get_the_time('d.m.Y H.i').' '.get_the_title().'

    '.get_the_content().'

  • '; endwhile; // Echo success response echo $output; } die(); } //add_action( 'wp_ajax_wplt_download_upload', 'wplt_download_upload_ajax' );