Support » Plugin: Contact Form 7 » add data to apiResponse from php?

  • Resolved codemonkeynorth


    [updated: leaving code for reference.. does still work]


    we used to be able to add data to the json response with eg

    function filter_wpcf7_ajax_json_echo( $items, $result ) {
    $items['foo'] = 'bar';
    return $items;

    but this no longer seems to work with v5.1.6 ?

    how would we do this now please?


  • The topic ‘add data to apiResponse from php?’ is closed to new replies.