-
Notifications
You must be signed in to change notification settings - Fork 2
/
contact.php
33 lines (23 loc) · 889 Bytes
/
contact.php
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: Simple Contact
* Description: Simple Contact Form Plugin for Wordpress
* Version: 1.1.2
* Author: Raymond Baghumian
* Author URI: https://github.com/Rayiumir/contact-form-wordpress
*/
if(!defined('ABSPATH')){
exit;
}
define( 'RAYIUM_CONTACT_INCLUDES', plugin_dir_path( __FILE__ ) . 'includes/' );
define( 'RAYIUM_CONTACT_VIEWS', plugin_dir_path( __FILE__ ) . 'views/' );
define( 'RAYIUM_CONTACT_CSS', plugin_dir_url( __FILE__ ) . 'css/' );
define( 'RAYIUM_CONTACT_JS', plugin_dir_url( __FILE__ ) . 'js/' );
// For Function contact_table
register_activation_hook( __FILE__, 'contact_table' );
// Contact Uninstall Table
require( RAYIUM_CONTACT_INCLUDES . 'uninstall.php' );
// Include modules
require( RAYIUM_CONTACT_INCLUDES . 'functions.php' );
require( RAYIUM_CONTACT_INCLUDES . 'enqueue.php' );
require( RAYIUM_CONTACT_VIEWS . 'contactView.php' );