PluginProbe
PDF Viewer Block for Gutenberg / trunk
PDF Viewer Block for Gutenberg vtrunk
trunk 0.1 0.2 1.0 1.0.1 1.1
pdf-viewer-block / pdf-viewer-block.php

pdf-viewer-block.php in PDF Viewer Block for Gutenberg trunk, at pdf-viewer-block.php

34 lines 886 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @link https://jeanbaptisteaudras.com
4 * @since 0.1
5 * @package Gutenberg PDF Viewer Block
6 *
7 * Plugin Name: Gutenberg PDF Viewer Block
8 * Plugin URI: https://www.whodunit.fr/gutenberg-pdf-viewer-block
9 * Description: A simple and 100% free Gutenberg Block to display PDF Viewers / Readers on your website.
10 * Version: 1.1
11 * Author: audrasjb
12 * Author URI: https://jeanbaptisteaudras.com
13 * License: GPL-2.0+
14 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
15 * Text Domain: pdf-viewer-block
16 */
17
18 // If this file is called directly, abort.
19 if ( ! defined( 'WPINC' ) ) {
20 die;
21 }
22
23 /**
24 * Admin
25 */
26 if (is_admin()) {
27 require_once plugin_dir_path( __FILE__ ) . 'admin/admin.php';
28 }
29
30 /**
31 * Public
32 */
33 require_once plugin_dir_path( __FILE__ ) . 'public/public.php';
34