PluginProbe ʕ •ᴥ•ʔ
External Links – nofollow, noopener & new window / 2.32
External Links – nofollow, noopener & new window v2.32
0.31 0.32 0.33 0.34 0.35 1.01 1.02 1.03 1.10 1.20 1.21 1.30 1.31 1.40 1.41 1.50 1.51 1.52 1.53 1.54 1.55 1.56 1.60 1.61 1.62 1.70 1.80 1.81 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.1.0 2.1.1 2.1.2 2.1.3 2.2.0 2.3 2.32 2.35 2.40 2.42 2.43 2.45 2.46 2.47 2.48 2.50 2.51 2.55 2.56 2.57 2.58 2.59 2.60 2.61 2.62 2.63 2.64 2.65 trunk 0.10 0.11 0.12 0.20 0.21 0.30
wp-external-links / includes / class-wpel-plugin.php
wp-external-links / includes Last commit date
admin 7 years ago register-hooks 7 years ago class-wpel-front-ignore.php 7 years ago class-wpel-front.php 7 years ago class-wpel-link.php 7 years ago class-wpel-plugin.php 7 years ago class-wpel-register-scripts.php 7 years ago class-wpel-template-tags.php 7 years ago class-wpel-update.php 7 years ago
class-wpel-plugin.php
60 lines
1 <?php
2 /**
3 * Class WPEL_Plugin
4 *
5 * @package WPEL
6 * @category WordPress Plugin
7 * @version 2.3
8 * @link https://www.webfactoryltd.com/
9 * @license Dual licensed under the MIT and GPLv2+ licenses
10 */
11 final class WPEL_Plugin extends FWP_Plugin_Base_1x0x0
12 {
13
14 /**
15 * Initialize plugin
16 * @param string $plugin_file
17 * @param string $plugin_dir
18 */
19 protected function init( $plugin_file, $plugin_dir )
20 {
21 parent::init( $plugin_file, $plugin_dir );
22
23 $this->create_components();
24 }
25
26 /**
27 * Create components
28 */
29 protected function create_components()
30 {
31 WPEL_Register_Scripts::create();
32
33 // network admin page
34 $network_page = WPEL_Network_Page::create( array(
35 'network-settings' => WPEL_Network_Fields::create(),
36 'network-admin-settings' => WPEL_Network_Admin_Fields::create(),
37 ) );
38
39 // admin settings page
40 $settings_page = WPEL_Settings_Page::create( $network_page, array(
41 'external-links' => WPEL_External_Link_Fields::create(),
42 'internal-links' => WPEL_Internal_Link_Fields::create(),
43 'excluded-links' => WPEL_Excluded_Link_Fields::create(),
44 'admin' => WPEL_Admin_Fields::create(),
45 'exceptions' => WPEL_Exceptions_Fields::create(),
46 ) );
47
48 // front site
49 if ( ! is_admin() ) {
50 WPEL_Front::create( $settings_page );
51 }
52
53 // update procedures
54 WPEL_Update::create();
55 }
56
57 }
58
59 /*?>*/
60