edit_user_created_user hook – using to update Groups

The GravityForms folks chimed in. To clarify, I wanted to add a row to a database table on user activation (not on form submit), and I had not found that hook. Here is the completed code… add_action( ‘gform_user_registered’, ‘hl_add_group’, 10, 4 ); function hl_add_group($user_id, $feed, $entry) { $group = $entry[8]; global $wpdb; // add form … Read more

Doing Math with Gravity Forms List

And now for the final, largely untested, code. In the end I wasn’t sure which operations I’d need to be doing and so wanted to expand the functionality for whatever my client might throw at me in the future. I just got so excited that the [‘*’,’+’] case worked after two days of trying to … Read more

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