This plugin is an example of overriding Elementor template library as detail here. This plugin is never meant to use in the production.
- Clone this repository or download it as a zip file.
- Extract and move the plugin folder into the
wp-content/plugins
folder. - Edit
includes/source.php
file and replace the following constants' value with yours:$api_info_url
: The URL that returns the information of your library.$api_get_template_content_url
: The URL that returns the detail of specific template id (Notice the%d
).
- Activate the plugin.
- Manually sync the library using Elementor > Tools.
- Create/edit a post and see the new remote library.
- This plugin is just an example of how we override Elementor library. You should put the source class in your plugin (recommended) or your theme.