This plugin allows you to make your email forms simpler and easier to use
Form processing is done via JavaScript, protecting them from unnecessary spam from bots
Donations
Donate link
https://boosty.to/vextor/donate

توسط vext0r
اگر با مشکلی مواجه شدهاید،
لطفاً آن را با جزئیات برای ما ارسال کنید.
🔒 برای ثبت گزارش خرابی باید وارد سایت شوید.
This plugin allows you to make your email forms simpler and easier to use
Form processing is done via JavaScript, protecting them from unnecessary spam from bots
https://boosty.to/vextor/donate
vextor-quick-form-js folder to the /wp-content/plugins/ directoryIn the file wp-config.php add variables:
define(‘VEXTOR_RECIPIENT_EMAIL’, ‘recipient-email@example.com’);
define(‘VEXTOR_SENDER_NAME’, ‘Sender’);
define(‘VEXTOR_SENDER_EMAIL’, ‘sender-email@example.com’);
vextor-form-jsdata-vextor-send-button attribute inside this div, which will act as a trigger for submitting the formExample:
<div class="vextor-form-js">
<input type="text" name="name" required>
<input type="hidden" name="subject" value="My Subject">
<input type="file" name="files[]">
<button data-vextor-send-button>Send</button>
</div>
Yes, there are several filters and hooks
Filters:
* add_filter(‘vextor_form_recipient_email’, $email) // Use it to redefine the recipient’s Email address
* add_filter(‘vextor_form_translations’, $translations) // Use it to replace keys from the form with clear names
Example:
add_filter('vextor_form_translations', 'my_theme_custom_translations');
function my_theme_custom_translations(array $translations): array
{
$translations['subject'] = 'My subject';
return $translations;
}
Actions:
* add_action(‘vextor_before_form_send’, $data)
* add_action(‘vextor_form_sent’, $data)
* add_action(‘vextor_form_error’, $data)
There are also JS events:
* vextorformjs:prevalidation, {form, button}
* vextorformjs:postvalidation, {form, button}
* vextorformjs:sending, {form, button}
* vextorformjs:error, {form, button, response}
* vextorformjs:sent, {form, button, response}
Example:
document.addEventListener('vextorformjs:prevalidation', (event) => {
const { form, button } = event.detail;
console.log('Form:', form);
console.log('Button:', button);
});
قیمت:
رایگان
نگارش
آخرین انتشار
20 خرداد 1405
آخرین بروزرسانی
1 هفته پیش
نصب های فعال
-
نگارش وردپرس
وردپرس 6.3+
تست شده از نسخه
وردپرس 7.0
نگارش PHP
PHP 8.0+
نسخه ها
0 نسخه