hello
Server : Apache/2.4.52 (Ubuntu) System : Linux HAN2 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 User : servadmin ( 1000) PHP Version : 8.1.2-1ubuntu2.25 Disable Function : NONE Directory : /www/docs/www.obusignal.com/www.obusignal.com/wp-content/plugins/poll-wp/ |
<?php
/*
Plugin Name: Poll
Plugin URI: https://total-soft.com/wp-poll/
Description: Best Add a powerful poll on your site. WordPress Poll plugin is a responsive and customizable for WordPress. Poll plugin will help you more easily create powerful poll.
Author: totalsoft
Version: 2.5.3
Author URI: https://total-soft.com
License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
if ( ! defined( 'WPINC' ) ) {
die;
}
define( 'TS_POLL_VERSION', '2.5.3' );
define( 'TS_POLL_PLUGIN_NAME', 'TS_POLL' );
define( 'TS_POLL_PLUGIN_PREFIX', 'ts-poll-' );
define( 'TS_POLL_BASE', plugin_basename( __FILE__ ) );
define( 'TS_POLL_PLUGIN_ENV', plugin_dir_path( __FILE__ ) );
define( 'TS_POLL_PLUGIN_DIR', dirname( plugin_basename( __FILE__ ) ) );
define( 'TS_POLL_PLUGIN_DIR_URL', plugin_dir_url( __FILE__ ) );
/**
* The code that runs during plugin activation.
* This action is documented in includes/class-ts_poll-activator.php
*/
function activate_ts_poll() {
require_once plugin_dir_path( __FILE__ ) . 'includes/class-ts_poll-activator.php';
ts_poll_activate::activate();
}
/**
* The code that runs during plugin deactivation.
* This action is documented in includes/class-ts_poll-deactivator.php
*/
function deactivate_ts_poll() {
require_once plugin_dir_path( __FILE__ ) . 'includes/class-ts_poll-deactivator.php';
ts_poll_deactivate::deactivate();
}
register_activation_hook( __FILE__, 'activate_ts_poll' );
register_deactivation_hook( __FILE__, 'deactivate_ts_poll' );
/**
* The core plugin class that is used to define internationalization,
* admin-specific hooks, and public-facing site hooks.
*/
require plugin_dir_path( __FILE__ ) . 'includes/class-ts_poll.php';
/**
* Begins execution of the plugin.
*
* Since everything within the plugin is registered via hooks,
* then kicking off the plugin from this point in the file does
* not affect the page life cycle.
*
* @since 1.7.0
*/
function run_ts_poll() {
$plugin = new TS_Poll();
$plugin->run();
}
run_ts_poll();