$91 GRAYBYTE WORDPRESS FILE MANAGER $30

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

/home/bravetechrwanda/itiministry.org/plugins/give/includes/database/

HOME
Current File : /home/bravetechrwanda/itiministry.org/plugins/give/includes/database//class-give-db-form-meta.php
<?php
/**
 * Form Meta DB class
 *
 * @package     Give
 * @subpackage  Classes/DB Form Meta
 * @copyright   Copyright (c) 2016, GiveWP
 * @license     https://opensource.org/licenses/gpl-license GNU Public License
 * @since       2.0
 */

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

/**
 * Class Give_DB_Form_Meta
 *
 * This class is for interacting with the form meta database table.
 *
 * @since 2.0
 */
class Give_DB_Form_Meta extends Give_DB_Meta {
	/**
	 * Post type
	 *
	 * @since  2.0
	 * @access protected
	 * @var bool
	 */
	protected $post_type = 'give_forms';

	/**
	 * Meta type
	 *
	 * @since  2.0
	 * @access protected
	 * @var bool
	 */
	protected $meta_type = 'form';

	/**
	 * Give_DB_Form_Meta constructor.
	 *
	 * @access  public
	 * @since   2.0
	 */
	public function __construct() {
		/* @var WPDB $wpdb */
		global $wpdb;

		$wpdb->formmeta    = $this->table_name = $wpdb->prefix . 'give_formmeta';
		$this->primary_key = 'meta_id';
		$this->version     = '1.0';

		parent::__construct();
	}

	/**
	 * Get table columns and data types.
	 *
	 * @access  public
	 * @since   2.0
	 *
	 * @return  array  Columns and formats.
	 */
	public function get_columns() {
		return array(
			'meta_id'    => '%d',
			'form_id'    => '%d',
			'meta_key'   => '%s',
			'meta_value' => '%s',
		);
	}

	/**
	 * check if custom meta table enabled or not.
	 *
	 * @since  2.0
	 * @access protected
	 * @return bool
	 */
	protected function is_custom_meta_table_active() {
		return give_has_upgrade_completed( 'v20_move_metadata_into_new_table' );
	}
}


Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
25 May 2026 4.20 PM
bravetechrwanda / bravetechrwanda
0755
class-give-db-comments-meta.php
2.092 KB
8 Aug 2019 2.29 AM
bravetechrwanda / bravetechrwanda
0644
class-give-db-comments.php
9.536 KB
31 Mar 2020 4.14 AM
bravetechrwanda / bravetechrwanda
0644
class-give-db-donor-meta.php
2.06 KB
31 Mar 2020 4.14 AM
bravetechrwanda / bravetechrwanda
0644
class-give-db-donors.php
13.574 KB
31 Mar 2020 4.14 AM
bravetechrwanda / bravetechrwanda
0644
class-give-db-form-meta.php
1.547 KB
8 Aug 2019 2.29 AM
bravetechrwanda / bravetechrwanda
0644
class-give-db-meta.php
13.955 KB
17 Sep 2025 8.52 PM
bravetechrwanda / bravetechrwanda
0644
class-give-db-payment-meta.php
2.237 KB
28 Jan 2026 8.00 PM
bravetechrwanda / bravetechrwanda
0644
class-give-db-sequential-ordering.php
2.751 KB
31 Mar 2020 4.14 AM
bravetechrwanda / bravetechrwanda
0644
class-give-db-sessions.php
5.056 KB
17 Sep 2025 8.52 PM
bravetechrwanda / bravetechrwanda
0644
class-give-db.php
10.146 KB
31 Mar 2020 4.14 AM
bravetechrwanda / bravetechrwanda
0644

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