at path:
ROOT
/
wp-content
/
plugins
/
whizzy
/
whizzy.php
run:
R
W
Run
assets
DIR
2025-08-15 17:54:51
R
W
Run
callbacks
DIR
2025-08-15 17:54:51
R
W
Run
core
DIR
2025-08-15 17:54:51
R
W
Run
features
DIR
2025-08-15 17:54:51
R
W
Run
lang
DIR
2025-08-15 17:54:51
R
W
Run
lib
DIR
2025-08-15 17:54:51
R
W
Run
settings
DIR
2025-08-15 17:54:51
R
W
Run
views
DIR
2025-08-15 17:54:51
R
W
Run
class-whizzy.php
29.63 KB
2025-08-15 17:54:51
R
W
Run
Delete
Rename
gulpfile.js
1.79 KB
2025-08-15 17:54:51
R
W
Run
Delete
Rename
index.php
120 By
2025-08-15 17:54:51
R
W
Run
Delete
Rename
package-lock.json
383 KB
2025-08-15 17:54:51
R
W
Run
Delete
Rename
package.json
1013 By
2025-08-15 17:54:51
R
W
Run
Delete
Rename
plugin-config.php
1.25 KB
2025-08-15 17:54:51
R
W
Run
Delete
Rename
plugin-defaults.php
726 By
2025-08-15 17:54:51
R
W
Run
Delete
Rename
readme.txt
2.76 KB
2025-08-15 17:54:51
R
W
Run
Delete
Rename
single-proof_gallery.php
125 By
2025-08-15 17:54:51
R
W
Run
Delete
Rename
whizzy-advanced.php
36.44 KB
2025-08-15 17:54:51
R
W
Run
Delete
Rename
whizzy-page-pdf.php
5.21 KB
2025-08-15 17:54:51
R
W
Run
Delete
Rename
whizzy.php
1.75 KB
2025-08-15 17:54:51
R
W
Run
Delete
Rename
error_log
up
📄
whizzy.php
Save
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly /* Plugin Name: Whizzy Plugin URI: http://foxthemes.me/ Description: WordPress photo gallery plugin. Version: 1.1.20 Author: UPQODE Author URI: http://foxthemes.me/ Text Domain: whizzy */ // If this file is called directly, abort. if ( ! defined( 'WPINC' ) ) { die; } require 'core/bootstrap.php'; require_once 'whizzy-advanced.php'; $config = include 'plugin-config.php'; // set textdomain whizzy::settextdomain( $config['textdomain'] ); // Ensure Test Data // ---------------- function whizzy_import_plugin_settings() { $config = include 'plugin-config.php'; $defaults = include 'plugin-defaults.php'; $current_data = get_option( $config['settings-key'] ); if ( $current_data === false ) { add_option( $config['settings-key'], $defaults ); } elseif ( count( array_diff_key( $defaults, $current_data ) ) != 0 ) { $plugindata = array_merge( $defaults, $current_data ); update_option( $config['settings-key'], $plugindata ); } } add_action( 'admin_init', 'whizzy_import_plugin_settings' ); # else: data is available; do nothing // Load Callbacks // -------------- $basepath = dirname( __FILE__ ) . DIRECTORY_SEPARATOR; $callbackpath = $basepath . 'callbacks' . DIRECTORY_SEPARATOR; whizzy::require_all( $callbackpath ); require_once($basepath . 'class-whizzy.php'); if ( file_exists( $basepath . '/lib/vendor/autoload.php' ) ) { require_once($basepath . '/lib/vendor/autoload.php'); } // Register hooks that are fired when the plugin is activated, deactivated, and uninstalled, respectively. register_activation_hook( __FILE__, array( 'WhizzyPlugin', 'activate' ) ); global $whizzy_plugin; $whizzy_plugin = WhizzyPlugin::get_instance();