Server IP : 52.91.253.208 / Your IP : 3.133.124.145 [ Web Server : Apache System : Linux ip-172-26-9-9 4.19.0-25-cloud-amd64 #1 SMP Debian 4.19.289-1 (2023-07-24) x86_64 User : daemon ( 1) PHP Version : 7.3.18 Disable Function : NONE Domains : 3 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wp-external-links/includes/ |
Upload File : |
<?php /** * Class WPEL_Plugin * * @package WPEL * @category WordPress Plugin * @version 2.3 * @link https://www.webfactoryltd.com/ * @license Dual licensed under the MIT and GPLv2+ licenses */ final class WPEL_Plugin extends FWP_Plugin_Base_1x0x0 { /** * Initialize plugin * @param string $plugin_file * @param string $plugin_dir */ protected function init( $plugin_file, $plugin_dir ) { parent::init( $plugin_file, $plugin_dir ); $this->create_components(); } /** * Create components */ protected function create_components() { WPEL_Register_Scripts::create(); // network admin page $network_page = WPEL_Network_Page::create( array( 'network-settings' => WPEL_Network_Fields::create(), 'network-admin-settings' => WPEL_Network_Admin_Fields::create(), ) ); // admin settings page $settings_page = WPEL_Settings_Page::create( $network_page, array( 'external-links' => WPEL_External_Link_Fields::create(), 'internal-links' => WPEL_Internal_Link_Fields::create(), 'excluded-links' => WPEL_Excluded_Link_Fields::create(), 'admin' => WPEL_Admin_Fields::create(), 'exceptions' => WPEL_Exceptions_Fields::create(), ) ); // front site if ( ! is_admin() ) { WPEL_Front::create( $settings_page ); } // update procedures WPEL_Update::create(); } } /*?>*/