).*/', '', $match[1] )); // } else { // $headers[$field] = ''; // } // } // return $headers; // } // } // class DTDevUpdateChecker247RRExt extends DTDevUpdateChecker { // public function __construct() { // $get_plugin_data = dt_get_plugin_data(__FILE__, false, false); // $plugin_version = isset($get_plugin_data['Version']) ? $get_plugin_data['Version'] : '1.0.0'; // $this->plugin_slug = isset($get_plugin_data['TextDomain']) ? $get_plugin_data['TextDomain'] : ''; // $this->plugin = 'dt-247-record-release-form/dt-247-record-release-form.php'; // $this->remote_update = 'https://plugins.damteq.co.uk/info/dt-247-record-release-form'; // $this->version = $plugin_version; // $this->cache_key = 'dtdev_custom_upd'; // $this->cache_allowed = false; // add_filter( 'plugins_api', array( $this, 'info' ), 20, 3 ); // add_filter( 'site_transient_update_plugins', array( $this, 'update' ) ); // add_action( 'upgrader_process_complete', array( $this, 'purge' ), 10, 2 ); // } // } // new DTDevUpdateChecker247RRExt();