| 1 | <?php |
|---|
| 2 | /* |
|---|
| 3 | Plugin Name: upPrev |
|---|
| 4 | Text Domain: upprev |
|---|
| 5 | Plugin URI: https://github.com/iworks/upprev |
|---|
| 6 | Description: Display cool, animated fly-out or fade box with related content. |
|---|
| 7 | Version: 4.1.2 |
|---|
| 8 | Author: Marcin Pietrzak |
|---|
| 9 | Author URI: http://iworks.pl/ |
|---|
| 10 | License: GPLv3 or later |
|---|
| 11 | License URI: http://www.gnu.org/licenses/gpl-3.0.html |
|---|
| 12 | |
|---|
| 13 | Copyright 2011-2025 Marcin Pietrzak (marcin@iworks.pl) |
|---|
| 14 | |
|---|
| 15 | this program is free software; you can redistribute it and/or modify |
|---|
| 16 | it under the terms of the GNU General Public License, version 2, as |
|---|
| 17 | published by the Free Software Foundation. |
|---|
| 18 | |
|---|
| 19 | This program is distributed in the hope that it will be useful, |
|---|
| 20 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 21 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 22 | GNU General Public License for more details. |
|---|
| 23 | |
|---|
| 24 | You should have received a copy of the GNU General Public License |
|---|
| 25 | along with this program; if not, write to the Free Software |
|---|
| 26 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
|---|
| 27 | |
|---|
| 28 | */ |
|---|
| 29 | defined( 'ABSPATH' ) || exit; // Exit if accessed directly |
|---|
| 30 | /** |
|---|
| 31 | * static options |
|---|
| 32 | */ |
|---|
| 33 | define( 'IWORKS_UPPREV_VERSION', '4.1.2' ); |
|---|
| 34 | define( 'IWORKS_UPPREV_PREFIX', 'iworks_upprev_' ); |
|---|
| 35 | |
|---|
| 36 | require_once dirname( __FILE__ ) . '/includes/common.php'; |
|---|
| 37 | |
|---|
| 38 | $iworks_upprev = new IworksUpprev(); |
|---|
| 39 | |
|---|
| 40 | /** |
|---|
| 41 | * install & uninstall |
|---|
| 42 | */ |
|---|
| 43 | register_activation_hook( __FILE__, 'iworks_upprev_activate' ); |
|---|
| 44 | register_deactivation_hook( __FILE__, 'iworks_upprev_deactivate' ); |
|---|
| 45 | |
|---|