<?php
/**
 * Plugin Name: Wooden Banana Studio
 * Description: Guide clients through a seamless, professional album and wall art selection process.
 * Version: 1.05
 * Requires at least: 6.4
 * Requires PHP: 7.4
 * Author: Wooden Banana
 * Update URI: https://wooden-banana-studio-updates.pages.dev/
 * Text Domain: mark-pacura-album-builder
 * Domain Path: /languages
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

define( 'MPAB_VERSION', '1.05' );
define( 'MPAB_FILE', __FILE__ );
define( 'MPAB_DIR', plugin_dir_path( __FILE__ ) );
define( 'MPAB_URL', plugin_dir_url( __FILE__ ) );

require_once MPAB_DIR . 'includes/class-mpab-plugin.php';
require_once MPAB_DIR . 'includes/class-mpab-wall-art.php';
require_once MPAB_DIR . 'includes/class-mpab-updater.php';

function mpab_activate_studio() {
	MPAB_Plugin::activate();
	MPAB_Wall_Art::activate();
}

register_activation_hook( MPAB_FILE, 'mpab_activate_studio' );
register_deactivation_hook( MPAB_FILE, array( 'MPAB_Plugin', 'deactivate' ) );

MPAB_Plugin::instance();
MPAB_Wall_Art::instance();
MPAB_Updater::register();
