'form', // Singular name of the listed records. 'plural' => 'forms', // Plural name of the listed records. 'ajax' => false, // Does this table support ajax? ] ); $this->process_bulk_action(); $this->get_payment_counts(); $this->base_url = admin_url( 'edit.php?post_type=give_forms&page=give-payment-history' ); } /** * Add donation search filter. * * @return void */ public function advanced_filters() { $start_date = isset( $_GET['start-date'] ) ? strtotime( give_clean( $_GET['start-date'] ) ) : ''; $end_date = isset( $_GET['end-date'] ) ? strtotime( give_clean( $_GET['end-date'] ) ) : ''; $status = isset( $_GET['status'] ) ? give_clean( $_GET['status'] ) : ''; $donor = isset( $_GET['donor'] ) ? absint( $_GET['donor'] ) : ''; $search = isset( $_GET['s'] ) ? give_clean( $_GET['s'] ) : ''; $form_id = ! empty( $_GET['form_id'] ) ? absint( $_GET['form_id'] ) : 0; ?>