-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathweforms-pdf.php
More file actions
45 lines (39 loc) · 1.16 KB
/
Copy pathweforms-pdf.php
File metadata and controls
45 lines (39 loc) · 1.16 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
<?php
/**
* Plugin Name: weForms PDF
* Plugin URI: http://wordpress.org/plugins/weforms-pdf
* Description: A simple plugin which allow to download weforms data as pdf
* Version: 1.0.0
* Author: Mishuk Adhikari
* Author URI: about.me/MishukAdhikari
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: weforms-pdf
* Domain Path: /languages
*
*
* Author Details
* @link about.me/MishukAdhikari
* @since 1.0.0
* @package Weforms_Pdf
*
* @wordpress-plugin
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
/**
* The code that runs during plugin activation.
* This action is documented in includes/class-weforms-pdf-activator.php
*/
function activate_weforms_pdf() {
weforms_pdf::activate();
}
register_activation_hook( __FILE__, 'activate_weforms_pdf' );
/**
* The core plugin class that is used to define internationalization,
* admin-specific hooks, and public-facing site hooks.
*/
require plugin_dir_path( __FILE__ ) . 'includes/class.weforms_pdf.php';
new weforms_pdf();