Custom actions example for the Forms Addon part of Essentials for YOOtheme Pro.
Actions are wrapped in a YOOtheme Pro module ready to be set in a Child Theme or wrapped into a Plugin. Assuming the Child Theme is the prefered choice follow these steps for the initial setup:
- Create a folder
yootheme_mytheme
or with a sufix of your choice. - Enable the new Child Theme in the YOOtheme Pro Customizer
Advanced Settings
. - Place the contents of this repository into
yootheme_mytheme/modules/mymodule
; - Create a
yootheme_mytheme/config.php
file with the following content:
<?php
use function YOOtheme\app;
app()->load(__DIR__ . '/modules/*/bootstrap.php');
return [];
- YOOtheme Pro 2.7+
- Essentials 1.6.10+