PluginProbe
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts / 2.3.1
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts v2.3.1
2.7.7 2.7.6 2.7.5 2.7.4 trunk 1.3 2.0.4 2.0.6 2.1.91 2.2.4 2.2.7 2.2.9 2.3.1 2.3.10 2.4.10 2.4.2 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.6.0 2.6.1 2.7.0 All 28 releases
insert-php / libs / factory / viewtables / boot.php

boot.php in Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts 2.3.1, at libs/factory/viewtables/boot.php

35 lines 855 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Factory viewtable
4 *
5 * @author Alex Kovalev <alex.kovalevv@gmail.com>
6 * @since 1.0.0
7 * @package factory-viewtables
8 * @copyright (c) 2018, Webcraftic Ltd
9 *
10 */
11
12 // Exit if accessed directly
13 if ( ! defined( 'ABSPATH' ) ) {
14 exit;
15 }
16
17 // module provides function only for the admin area
18 if ( ! is_admin() ) {
19 return;
20 }
21
22 if ( defined( 'FACTORY_VIEWTABLES_410_LOADED' ) ) {
23 return;
24 }
25
26 define( 'FACTORY_VIEWTABLES_410_VERSION', '4.1.0' );
27 define( 'FACTORY_VIEWTABLES_410_LOADED', true );
28
29 define( 'FACTORY_VIEWTABLES_410_DIR', dirname( __FILE__ ) );
30 define( 'FACTORY_VIEWTABLES_410_URL', plugins_url( null, __FILE__ ) );
31
32 #comp merge
33 require( FACTORY_VIEWTABLES_410_DIR . '/viewtable.class.php' );
34 require( FACTORY_VIEWTABLES_410_DIR . '/includes/viewtable-columns.class.php' );
35 #endcomp