• Resolved boxboro32

    (@boxboro32)


    I am using the API and getting records saved in “Unknown” form for regular submissions like “login” and also regular page loads. Using the following calls/actions:
    add_action( ‘wpcf7_before_send_mail’, ‘process_form’ );
    function process_form( $cf7 ) {

    }
    ————–
    add_action( ‘cfdb_submit’, ‘action_cfdb_submit’, 10, 1 );
    do_action(‘cfdb_submit’, $cf7);
    ————–
    function action_cfdb_submit( $cf7 ) {

    }
    ————–
    add_action( ‘cfdb_submit’, ‘action_cfdb_submit’, 10, 1 );
    add_filter(‘wpcf7_contact_form_default_pack’, function($contact_form, $args) {
    return $contact_form;
    }
    ————–
    do_action( ‘wpcf7_contact_form’, $instance );
    function action_wpcf7_contact_form( $instance ) {

    }
    add_action( ‘wpcf7_contact_form’, ‘action_wpcf7_contact_form’, 10, 1 );

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Saving records in “Unknown” form’ is closed to new replies.