PluginProbe
Listamester / trunk
Listamester vtrunk
2.5.0 trunk 2.2.1 2.2.2 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7
listamester / listamester.php

listamester.php in Listamester trunk, at listamester.php

57 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Listamester
4 * Description: Hírlevélküldő, email marketing szolgáltatás WordPress-hez
5 * Version: 2.5.0
6 * Author: Listamester
7 * Author URI: https://listamester.hu
8 * Text Domain: listamester
9 * Domain Path: /languages
10 *
11 * @package listamester
12 */
13
14 // Exit if accessed directly
15 if ( ! defined( 'ABSPATH' ) ) {
16 exit;
17 }
18
19 require_once __DIR__ . '/includes/class-listamester.php';
20 require_once __DIR__ . '/includes/class-listamester-form-capturer.php';
21 require_once __DIR__ . '/includes/class-listamester-api-client.php';
22 require_once __DIR__ . '/includes/class-listamester-elementor.php';
23
24 /**
25 * Initialize the main class.
26 */
27 new Listamester();
28 new Listamester_Form_Capturer();
29 new Listamester_Elementor();
30
31 function listamester_admin() {
32 if ( is_admin() ) {
33 require_once __DIR__ . '/includes/class-listamester-admin.php';
34 new Listamester_Admin();
35 }
36 }
37
38 add_action( 'init', 'listamester_admin' );
39
40 /**
41 * Runs during plugin activation.
42 */
43 function activate_listamester() {
44 require_once plugin_dir_path( __FILE__ ) . 'includes/class-listamester-activator.php';
45 Listamester_Activator::activate();
46 }
47 register_activation_hook( __FILE__, 'activate_listamester' );
48
49 /**
50 * Runs during plugin uninstall/delete.
51 */
52 function listamester_uninstall() {
53 require_once plugin_dir_path( __FILE__ ) . 'includes/class-listamester-uninstall.php';
54 Listamester_Uninstall::uninstall();
55 }
56 register_uninstall_hook( __FILE__, 'listamester_uninstall' );
57