$12 GRAYBYTE WORDPRESS FILE MANAGER $18

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.162.162 | ADMIN IP 216.73.216.51
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/bravetechrwanda/itiministry.org/plugins/give/includes/admin/reports/

HOME
Current File : /home/bravetechrwanda/itiministry.org/plugins/give/includes/admin/reports//class-forms-report.php
<?php
/**
 * Give Reports Page/Tab
 *
 * @package     Give
 * @subpackage  Classes/Give_Forms_Report
 * @copyright   Copyright (c) 2016, GiveWP
 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
 * @since       1.8
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

if ( ! class_exists( 'Give_Forms_Report' ) ) :

	/**
	 * Give_Forms_Report.
	 *
	 * @sine 1.8
	 */
	class Give_Forms_Report extends Give_Settings_Page {
		/**
		 * Flag to check if enable saving option for setting page or not
		 *
		 * @since 1.8.17
		 * @var bool
		 */
		protected $enable_save = false;

		/**
		 * Constructor.
		 */
		public function __construct() {
			$this->id    = 'forms';
			$this->label = esc_html__( 'Forms', 'give' );

			parent::__construct();

			add_action( 'give_admin_field_report_forms', array( $this, 'render_report_forms_field' ), 10, 2 );

			// Do not use main form for this tab.
			if ( give_get_current_setting_tab() === $this->id ) {
				add_action( 'give-reports_open_form', '__return_empty_string' );
				add_action( 'give-reports_close_form', '__return_empty_string' );
			}
		}

		/**
		 * Get settings array.
		 *
		 * @since  1.8
		 * @return array
		 */
		public function get_settings() {

			/**
			 * Filter the settings.
			 *
			 * @since  1.8
			 *
			 * @param  array $settings
			 */
			$settings = apply_filters(
				'give_get_settings_' . $this->id,
				array(
					array(
						'id'         => 'give_reports_forms',
						'type'       => 'title',
						'table_html' => false,
					),
					array(
						'id'   => 'forms',
						'name' => esc_html__( 'Forms', 'give' ),
						'type' => 'report_forms',
					),
					array(
						'id'         => 'give_reports_forms',
						'type'       => 'sectionend',
						'table_html' => false,
					),
				)
			);

			// Output.
			return $settings;
		}

		/**
		 * Render report forms field
		 *
		 * @since  1.8
		 * @access public
		 *
		 * @param $field
		 * @param $option_value
		 */
		public function render_report_forms_field( $field, $option_value ) {
			do_action( 'give_reports_view_forms' );
		}
	}

endif;

return new Give_Forms_Report();


Current_dir [ WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
25 May 2026 4.20 PM
bravetechrwanda / bravetechrwanda
0755
class-donor-reports-table.php
9.047 KB
31 Mar 2020 4.14 AM
bravetechrwanda / bravetechrwanda
0644
class-earnings-report.php
2.125 KB
28 Oct 2020 5.02 AM
bravetechrwanda / bravetechrwanda
0644
class-form-reports-table.php
8.294 KB
28 Oct 2020 5.02 AM
bravetechrwanda / bravetechrwanda
0644
class-forms-report.php
2.112 KB
14 Dec 2018 1.30 AM
bravetechrwanda / bravetechrwanda
0644
class-gateways-report.php
2.317 KB
14 Dec 2018 1.30 AM
bravetechrwanda / bravetechrwanda
0644
class-gateways-reports-table.php
7.574 KB
9 Jun 2022 1.19 AM
bravetechrwanda / bravetechrwanda
0644
class-give-graph.php
8.768 KB
31 Mar 2025 11.17 PM
bravetechrwanda / bravetechrwanda
0644
graphing.php
24.539 KB
17 Jun 2022 4.03 AM
bravetechrwanda / bravetechrwanda
0644
reports.php
8.973 KB
8 Mar 2025 12.56 AM
bravetechrwanda / bravetechrwanda
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF Static GIF