elementor-hello-world
elementor-hello-world copied to clipboard
Elementor Sample Plugin
Elementor Hello World Sample Plugin
This is a sample plugin to demonstrate how you can write extentions (plugins) to add custom functionality to Elementor
Plugin Structure:
assets/
/js
/css Holds plugin CSS Files
widgets/
/hello-world.php
/inline-editing.php
index.php
elementor-hello-world.php
plugin.php
assetsdirectory - holds plugin JavaScript and CSS assets/jsdirectory - Holds plugin Javascript Files/cssdirectory - Holds plugin CSS Files
widgetsdirectory - Holds Plugin widgets/hello-world.php- Hello World demo Widget class/inline-editing.php- Inline Editing demo Widget class
index.php- Prevent direct access to directorieselementor-hello-world.php- Main plugin file, used as a loader if plugin minimum requirements are met.plugin.php- The actual Plugin file/Class.
For more documentation please see Elementor Developers Resource.