Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Saiful Islam Ananda

    (@saifulananda)

    For user base limit

    $total_submission   = get_post_meta( $form_id, 'wpadcf7sl-total-submission', true );
    $total_count = get_user_meta( $user_id, "wpadcf7sl-total-submission-{$form_id}", true );
    $remaining   = $total_submission - (int) $total_count;

    For form base limit

    $total_submission   = get_post_meta( $form_id, 'wpadcf7sl-total-submission', true );
    $total_count = get_post_meta( $form_id, 'submission-total-count', true );
    $remaining   = $total_submission - (int) $total_count;

    Above are given how to calculate the remaining limit.

    Thread Starter bharti9107

    (@bharti9107)

    Thank you so much

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show reaming Limit time’ is closed to new replies.