← Back
Editing: class-gravityforms-config.php
<?php namespace GD_cORe\handlers\plugin_configs; if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Gravity Forms Auto-Configuration * * Automatically applies the WDS license key to Gravity Forms plugin * to prevent "license key incorrect" errors on new site builds. * * @package GD_cORe * @subpackage GD_cORe/admin/handlers/plugin_configs * @since 4.1.2 */ class gravityforms extends Main { /** * Constructor */ public function __construct() { } /** * Apply Gravity Forms configuration * * Delegates to Settings handler to fetch and apply the WDS Gravity Forms license key. * Uses the Settings handler to maintain separation of concerns and follow established patterns. * * @since 4.1.2 * @return void */ public function runConfig() { $settings = new \GD_cORe\handlers\Settings(); $settings->load_gravityforms_license(); } }
Save File
Cancel