Conditional Gravity Forms filter in WordPress Multisite

Based on @jdm2112 response, I did the following: add_filter(‘gform_paypalpaymentspro_args_before_payment’,’add_donation_comment’, 10, 2 ); function add_donation_comment( $args, $form_id ) { // do not edit $args or $form_id global $blog_id; // Make this available to the function // Apply filter only if blog id is 2 if ( 2 == $blog_id ) { // apply to form 1 … Read more

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