| Server IP : 52.202.253.110 / Your IP : 216.73.217.139 Web Server : Apache/2.4.56 (Amazon Linux) OpenSSL/3.0.8 System : Linux ip-172-32-10-67.ec2.internal 6.1.49-70.116.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Sep 6 22:13:07 UTC 2023 x86_64 User : ec2-user ( 1000) PHP Version : 8.2.9 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/vhosts/cirrata_html/wp-content/plugins/widget-context/ |
Upload File : |
<?php
/**
* Plugin Name: Widget Context
* Plugin URI: https://widgetcontext.com
* Description: Show or hide widgets depending on the section of the site that is being viewed. Configure the widget visibility rules under the individual widget settings.
* Version: 1.3.3
* Author: Kaspars Dambis
* Author URI: https://widgetcontext.com
* Text Domain: widget-context
*/
if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
require_once __DIR__ . '/vendor/autoload.php';
}
$plugin = new Preseto\WidgetContext\Plugin( __FILE__ );
$widget_context = new WidgetContext( $plugin );
$widget_context->register_module( new WidgetContextCustomCptTax( $widget_context ) );
$widget_context->register_module( new WidgetContextWordCount( $widget_context ) );
$widget_context->init();