Forum Replies Created

Viewing 2 replies - 226 through 227 (of 227 total)
  • Hi,

    Seems I encounter problems due to the same change, “breaking my head” looking for the source.

    I have the below code that may need to be fixed:

    function generate_pdf($contact_form) {

    error_reporting(E_ALL);

    $submission = WPCF7_Submission::get_instance();
    if ($submission && !empty($_COOKIE[IDENTIFY_USER_COOKIE])) {

    $posted_data = $submission->get_posted_data();

    $uploadDir = wp_get_upload_dir();

    if (!empty($posted_data[‘_wpcf7’]) && $posted_data[‘_wpcf7’] == 2816) {….

    I’ll be happy to hear what you (@takayukister) advise as a solution.

    It is. We have it on our website.

    I intend to dive into the code, if you would have questions in the future.

Viewing 2 replies - 226 through 227 (of 227 total)