PluginProbe
Premmerce Product Search for WooCommerce / 2.2
Premmerce Product Search for WooCommerce v2.2
trunk 1.0 1.0.1 1.1 1.1.1 1.1.2 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.1 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.2 2.2.1 2.2.2 2.2.3 2.2.4 All 27 releases
premmerce-search / premmerce-search.php

premmerce-search.php in Premmerce Product Search for WooCommerce 2.2, at premmerce-search.php

46 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 use Premmerce\Search\SearchPlugin;
4
5 /**
6 * @package Premmerce\Search
7 *
8 * @wordpress-plugin
9 * Plugin Name: Premmerce Product Search for WooCommerce
10 * Plugin URI: https://premmerce.com/woocommerce-product-search/
11 * Description: Premmerce Search makes the WooCommerce product search more flexible and efficient and gives the additional search results due to the spell correction.
12 * Version: 2.2
13 * Author: premmerce
14 * Author URI: https://premmerce.com
15 * License: GPL-2.0+
16 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
17 * Text Domain: premmerce-search
18 * Domain Path: /languages
19 *
20 * WC requires at least: 3.0.0
21 * WC tested up to: 5.5.2
22 *
23 */
24
25 // If this file is called directly, abort.
26 if ( ! defined('WPINC')) {
27 die;
28 }
29
30 if ( ! function_exists('premmerce_ps_fs')) {
31
32 call_user_func(function () {
33
34 require_once plugin_dir_path(__FILE__) . 'vendor/autoload.php';
35 #premmerce_clear
36 require_once plugin_dir_path(__FILE__) . '/freemius.php';
37 #/premmerce_clear
38 $main = new SearchPlugin(__FILE__);
39
40 register_activation_hook(__FILE__, [$main, 'activate']);
41
42 premmerce_ps_fs()->add_action('after_uninstall', [SearchPlugin::class, 'uninstall']);
43
44 $main->run();
45 });
46 }