-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvideomail-for-ninja-forms.php
More file actions
33 lines (26 loc) · 920 Bytes
/
videomail-for-ninja-forms.php
File metadata and controls
33 lines (26 loc) · 920 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/*
Plugin Name: Videomail for Ninja Forms
Plugin URI: https://github.com/binarykitchen/videomail-for-ninja-forms
Description: Express yourself in more than just words. Record and send a short video from your webcam.
Version: 10.2.1
Author: Michael Heuberger + Kyle B. Johnson
Author URI: https://videomail.io
Author URI: http://kylebjohnson.me
Text Domain: videomail-for-ninja-forms
Copyright 2025 Michael Heuberger + Kyle B. Johnson
*/
if (version_compare(get_option('ninja_forms_version', '0.0.0'), '3', '<') ||
get_option('ninja_forms_load_deprecated', false)) {
return;
} else {
$entryFile = __FILE__;
$targetDir = plugin_dir_path($entryFile) . 'target' . DIRECTORY_SEPARATOR;
$url = plugin_dir_url($entryFile) . 'target/';
require_once $targetDir . 'php' . DIRECTORY_SEPARATOR . 'videomail.php';
NF_Videomail::instance(
$entryFile,
$targetDir,
$url
);
}