50, 'status' => '' ) ); $active_count = PC_Form_Handler::get_form_count( 'active' ); $inactive_count = PC_Form_Handler::get_form_count( 'inactive' ); $total_responses = 0; foreach ( $forms as $form ) { $total_responses += PC_Form_Handler::get_form_response_count( $form->id ); } ?>

id ); $response_count = PC_Form_Handler::get_form_response_count( $form->id ); $edit_url = admin_url( 'admin.php?page=pcfb-form-builder&form_id=' . $form->id ); $responses_url = admin_url( 'admin.php?page=pcfb-responses&form_id=' . $form->id ); $status_class = 'active' === $form->status ? 'status-active' : 'status-inactive'; $status_text = 'active' === $form->status ? __( 'Active', 'pc-form-builder-xyz123' ) : __( 'Inactive', 'pc-form-builder-xyz123' ); ?>
name ); ?>
| |
description ) : ?>
description ); ?>
[pcfb-form id="id ); ?>"] 0 ) : ?> created_at ) ) ); ?>
prefix . 'pcfb_fields'; return $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM {$table_name} WHERE form_id = %d", $form_id ) ); } ?>