Passing data from after_submission action to the confirmation filter in gravity forms?

A hacky way round just for this situation is to just to get the latest create post. Not ideal but works as long no one creates an order within milliseconds of each other. public function order_confirmation( $confirmation, $form, $entry, $ajax ) { // get latest created order $order = get_posts([ ‘post_type’ => ‘purchase-order’, ‘numberposts’ => … Read more

Gravity Forms parameters return 1

It’s not Gravity Forms, it’s ob_end_clean(), which just deletes the buffer and returns a boolean value. (In this case, true, which is getting expressed as 1.) Is there a pressing reason to use the ob_* functions? The code would be more readable (and predictable) if it was something like this. public function collectGFData($entry, $form ) … Read more

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