-
Notifications
You must be signed in to change notification settings - Fork 0
/
edocr-document-viewer.php
34 lines (28 loc) · 1.22 KB
/
edocr-document-viewer.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
34
<?php
/*
Plugin Name: edocr Document Viewer
Plugin URI: https://github.com/edocr/edocr-document-viewer
Description: The edocr Document Viewer for Wordpress allows you to embed your documents on your WordPress site using our feature rich document viewer
Author: edocr <info@edocr.com>
Author URI: http://edocr.com
Version: 1.0.4
License: MIT
License URI: https://raw.githubusercontent.com/edocr/edocr-document-viewer/master/LICENSE
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
//Dev environment switch
$EDOCR_DEV = 0;
$wp_edocr_plugin_path = plugin_dir_path( __FILE__ );
$wp_edocr_plugin_url = plugin_dir_url( __FILE__ );
$wp_edocr_embed_url = 'https://edocr.com/embed/';
$wp_edocr_embed_url_dev = 'https://dev.edocr.com/embed/';
$wp_edocr_service_agreement_url = 'https://www.edocr.com/v/aqegexna/edocr-service-agreement';
$wp_edocr_account_creation_url = 'https://www.edocr.com/account/create';
$wp_edocr_homepage_url = 'https://www.edocr.com';
$wp_edocr_search_url = 'https://edocr.com/search';
$wp_edocr_support_email = 'info@edocr.com';
include_once('include/edocr-document-viewer-functions.php');
//Adding Admin Hooks
add_action('admin_menu', 'wp_edocr_options_page');
add_shortcode('edocr', 'wp_edocr_shortcode');
?>