PluginProbe ʕ •ᴥ•ʔ
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI / 2.0.3
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI v2.0.3
3.5.2 3.5.1 3.5.0 3.4.8 3.4.7 3.4.6 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.5.1 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.10 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.6.1 1.6.7 1.7.0 1.7.0.1 1.7.0.2 1.7.0.3 1.7.1 1.7.2 1.7.2.1 1.7.2.2 1.7.3 1.7.4 1.7.5 1.7.5.1 1.7.5.2 1.7.6 1.7.7 1.7.7.1 1.7.7.2 1.7.8 1.7.9 1.8.0 1.8.0.1 1.8.1 1.8.2 1.8.2.1 1.8.2.2 1.8.2.3 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9.0 1.9.0.1 1.9.1 1.9.2 1.9.3 1.9.4 1.9.4.1 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.0.1 2.0.1 2.0.2 2.0.3 2.0.3.1 2.0.4 2.0.4.1 2.0.5 2.0.6 2.0.7 2.0.8 2.0.8.1 2.0.9 3.0.0 3.0.0.1 3.0.1 3.0.2 3.0.3 3.0.3.1 3.0.4 3.0.4.1 3.0.4.2 3.0.5 3.0.5.1 3.0.5.2 3.0.6 3.0.6.1 3.0.7.1 3.0.8 3.0.8.1 3.0.9 3.0.9.1 3.0.9.2 3.0.9.3 3.0.9.4 3.0.9.5 3.1.0 3.1.1 3.1.2 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.3.0 3.4.0 3.4.1 3.4.2 3.4.2.1 3.4.3 3.4.4 3.4.5 trunk 1.0 1.0.1 1.0.2 1.0.3
everest-forms / includes / elementor / class-evf-elementor.php
everest-forms / includes / elementor Last commit date
class-evf-elementor.php 4 years ago class-evf-widget.php 4 years ago
class-evf-elementor.php
82 lines
1 <?php
2 /**
3 * EverestForm Elementor
4 *
5 * @package EverstForms\Class
6 * @version 1.8.5
7 */
8
9 defined( 'ABSPATH' ) || exit;
10
11 use Elementor\Plugin as ElementorPlugin;
12
13 /**
14 * Elementor class.
15 */
16 class EVF_Elementor {
17
18 /**
19 * Initialize.
20 */
21 public function __construct() {
22
23 $this->init();
24
25 }
26
27 /**
28 * Initialize elementor hooks.
29 *
30 * @since 1.6.0
31 */
32 public function init() {
33
34 if ( ! class_exists( '\Elementor\Plugin' ) ) {
35 return;
36 }
37
38 add_action( 'elementor/widgets/register', array( $this, 'register_widget' ) );
39 add_action( 'elementor/elements/categories_registered', array( $this, 'evf_elementor_widget_categories' ) );
40 add_action( 'elementor/editor/after_enqueue_styles', array( $this, 'editor_assets' ) );
41 }
42
43 /**
44 * Register Everest forms Widget.
45 *
46 * @since 1.8.5
47 */
48 public function register_widget() {
49 // Include Widget files.
50 require_once EVF_ABSPATH . 'includes/elementor/class-evf-widget.php';
51
52 ElementorPlugin::instance()->widgets_manager->register( new EVF_Widget() );
53 }
54
55 /**
56 * Custom Widgets Category.
57 *
58 * @param object $elements_manager Elementor elements manager.
59 *
60 * @since 1.8.5
61 */
62 public function evf_elementor_widget_categories( $elements_manager ) {
63 $elements_manager->add_category(
64 'everest-forms',
65 array(
66 'title' => esc_html__( 'Everest Forms', 'everest-forms' ),
67 'icon' => 'fa fa-plug',
68 )
69 );
70 }
71
72 /**
73 * Load assets in the elementor document.
74 */
75 public function editor_assets() {
76 wp_register_style( 'everest-forms-admin', evf()->plugin_url() . '/assets/css/admin.css', array(), EVF_VERSION );
77 wp_enqueue_style( 'everest-forms-admin' );
78 }
79 }
80
81 new EVF_Elementor();
82