WordPress.org

Support

Support » Plugins and Hacks » AJAX Callback

AJAX Callback

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author TC.K
    Participant

    @wp_dummy

    Actually you can manipulated the post query form the wp_query in the ‘ajax_wpqsf_reoutput’ filter.

    Aldo
    Participant

    @ab_lu

    I dont want to manipulate it, just want to grab the executed query to use it again in the background for another purpose.
    I thought maybe it would be possible to store it in a hidden field via Ajax.
    Other suggestion?

    Plugin Author TC.K
    Participant

    @wp_dummy

    Sure, you can hold your $query in a place holder.
    For example:

    $data = $query;
    //then you can use that $data for another purpose.

    Aldo
    Participant

    @ab_lu

    But how do I pass the $id?

    add_filter('ajax_wpqsf_reoutput', 'customize_output', '', 2);
    function customize_output($results , $args){
    
    echo $id;
    
    }
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘AJAX Callback’ is closed to new replies.