Integrate mycred with gravity forms

I’m trying ti integrate gravity forms with the plugin mycred. I’ve managed to create a function that removes points if user tick a checkbos in the form.

function update_balance_form( $entry, $form ) {

    $orderID = rgar( $entry, '2' );
    $user_id = get_current_user_id();
    $orderIDArray = explode(', ', $orderID);

    foreach ($orderIDArray as $orderid){

        if ( function_exists( 'mycred_subtract' ) ) {
                'Rimozione punti: ' . $orderid,




add_action( 'gform_after_submission_1', 'update_balance_form', 10, 2 );

Now what i need to do is when i use the shortcode [mycred_history user_id=“current” inlinenav=1 ] i also would like to show the value of each other input field the user has filled in the form. Can someone point me in the right direction? Many thanks for your help

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.