Wordpress plugin core functionalities for Kunta API integrations
Kunta API core plugin allows users to embed service and service channel components (e.g. service description or service channel phone number, ...) into pages
All components are rendered through templates. This allows plugin and theme developers to customize the outputted markup to match their needs.
Templates are written as Twig templates
You can register your own templates folder by using kunta_api_register_templates
-action.
For example:
add_action('kunta_api_register_templates', function () {
global $kuntaApiTemplateFolders;
$kuntaApiTemplateFolders[] = __DIR__ . '/templates';
});
This allows the template system to lookup template-files under the new specified folder and allows the plugin or theme to override default templates.
Default templates can be found from Project's GitHub project templates folder
All templates can be overriden and more templates can be added just by placing them in plugin's or theme's templates folder.