| 1 |
<?php |
| 2 |
/* |
| 3 |
/* |
| 4 |
* Plugin Name: upPrev |
| 5 |
* Plugin URI: http://upprev.iworks.pl/ |
| 6 |
* Description: Display cool, animated fly-out or fade box with related content. |
| 7 |
* Requires at least: 5.0 |
| 8 |
* Requires PHP: 7.2 |
| 9 |
* Version: 4.0.7 |
| 10 |
* Author: Marcin Pietrzak |
| 11 |
* Author URI: http://iworks.pl/ |
| 12 |
* License: GPLv2 or later |
| 13 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 14 |
* Text Domain: upprev |
| 15 |
* Domain Path: /languages |
| 16 |
* |
| 17 |
|
| 18 |
Copyright 2011-2022 Marcin Pietrzak (marcin@iworks.pl) |
| 19 |
|
| 20 |
this program is free software; you can redistribute it and/or modify |
| 21 |
it under the terms of the GNU General Public License, version 2, as |
| 22 |
published by the Free Software Foundation. |
| 23 |
|
| 24 |
This program is distributed in the hope that it will be useful, |
| 25 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 26 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 27 |
GNU General Public License for more details. |
| 28 |
|
| 29 |
You should have received a copy of the GNU General Public License |
| 30 |
along with this program; if not, write to the Free Software |
| 31 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 32 |
|
| 33 |
*/ |
| 34 |
|
| 35 |
if ( ! defined( 'WPINC' ) ) { |
| 36 |
die; |
| 37 |
} |
| 38 |
|
| 39 |
/** |
| 40 |
* static options |
| 41 |
*/ |
| 42 |
define( 'IWORKS_UPPREV_VERSION', '4.0.7' ); |
| 43 |
define( 'IWORKS_UPPREV_PREFIX', 'iworks_upprev_' ); |
| 44 |
|
| 45 |
require_once dirname( __FILE__ ) . '/includes/common.php'; |
| 46 |
|
| 47 |
$iworks_upprev = new IworksUpprev(); |
| 48 |
|
| 49 |
/** |
| 50 |
* install & uninstall |
| 51 |
*/ |
| 52 |
register_activation_hook( __FILE__, 'iworks_upprev_activate' ); |
| 53 |
register_deactivation_hook( __FILE__, 'iworks_upprev_deactivate' ); |
| 54 |
|
| 55 |
/** |
| 56 |
* Buy me a coffe! |
| 57 |
*/ |
| 58 |
include_once $includes . '/iworks/rate/rate.php'; |
| 59 |
do_action( |
| 60 |
'iworks-register-plugin', |
| 61 |
plugin_basename( __FILE__ ), |
| 62 |
__( 'upPrev', 'upprev' ), |
| 63 |
'upprev' |
| 64 |
); |
| 65 |
|