Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | * Plugin Name: Wrapper Link Elementor |
---|
4 | * Version: 1.0.4 |
---|
5 | * Description: Plugin to give wrapper links on Elementor Sections and Columns. |
---|
6 | * Author: Pedro Gusmão |
---|
7 | * Author URI: https://pedrogusmao.digital |
---|
8 | * Text Domain: wrapper-link-elementor |
---|
9 | * Domain Path: /languages |
---|
10 | * License: GPLv3 |
---|
11 | * License URI: http://www.gnu.org/licenses/gpl-3.0 |
---|
12 | * Elementor tested up to: 3.9.2 |
---|
13 | */ |
---|
14 | |
---|
15 | |
---|
16 | if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly |
---|
17 | |
---|
18 | |
---|
19 | function elementor_wrapper_link_start() { |
---|
20 | |
---|
21 | // Load plugin file |
---|
22 | require_once( __DIR__ . '/includes/plugin.php' ); |
---|
23 | require_once( __DIR__ . '/includes/controls.php' ); |
---|
24 | require_once( __DIR__ . '/includes/implement.php' ); |
---|
25 | |
---|
26 | // Run the plugin |
---|
27 | \Elementor_Wrapper_Link\ElementorWrapperLinkPlugin::instance(); |
---|
28 | |
---|
29 | } |
---|
30 | add_action( 'plugins_loaded', 'elementor_wrapper_link_start' ); |
---|
31 | |
---|
32 | |
---|
33 | function languages() { |
---|
34 | load_plugin_textdomain( 'wrapper-link-elementor', false, dirname(plugin_basename(__FILE__)) . '/languages' ); |
---|
35 | } |
---|
36 | |
---|
37 | |
---|
38 | |
---|
39 | |
---|
40 | |
---|
41 | |
---|
42 | |
---|
43 | |
---|
44 | |
---|
45 | |
---|
46 | |
---|
47 | |
---|
48 | |
---|
49 | |
---|
50 | |
---|
51 | |
---|
52 | |
---|
53 | |
---|
54 | |
---|
55 | |
---|
56 | |
---|
57 | |
---|
58 | |
---|
59 | |
---|
60 | |
---|
61 | |
---|
62 | |
---|
63 | |
---|
64 | |
---|
65 | |
---|
66 | |
---|
67 | |
---|
68 | |
---|
69 | |
---|
70 | |
---|
71 | |
---|
Note: See
TracBrowser
for help on using the repository browser.