Limit Contact Form 7 hook to specific form [closed]

You know the id of the form from the shortcode, you can do stuff just for that particular form. Here’s some sample code for that, just replace $myform_id with your form id:

add_action( 'wpcf7_mail_sent', 'wp190913_wpcf7' );

/**
 * Do stuff for my contact form form. This function shouldn't return aything
 * 
 * @param WPCF7_ContactForm $contact_form wpcf7 object, passed by refference
 */
function wp190913_wpcf7( $contact_form ) {

    // Not my desired form? bail
    if ( $contact_form->id !== $myform_id )
        return;

    // Do stuff for my contact form
}

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)