<?php
/**
 * @wordpress-plugin
 * Plugin Name:       Tarokina Free
 * Plugin URI:        https://arnelio.com/downloads/tarokina-free/
 * Description:       This plugin lets you create Tarot readings using your own cards and interpretations.
 * Version:           1.13.1
 * Author:            Arnelio
 * Author URI:        https://arnelio.com/
 * License:           GNU General Public License v2 or later
 * License URI:       http://www.gnu.org/licenses/gpl-2.0.txt
 * Text Domain:       tarokina-free
 * Domain Path:       /languages
 */

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

define( 'TAROKKINA_FREE_VERSION', '1.13.1' );

/**
 * Get menu text for Tarokina Free
 * This function ensures translations are loaded before using __()
 */
function tkna_get_menu_text_free() {
	return __('Tarot','tarokina-free');
}

define( 'TAROKINA__FILE__FREE', __FILE__ );
define( 'TAROKINA_FREE_PLUGIN_BASE', plugin_basename( TAROKINA__FILE__FREE ) );
define( 'TAROKINA_PATH_FREE', plugin_dir_path( TAROKINA__FILE__FREE ) );
define( 'TAROKINA_URL_FREE', plugins_url( '/', TAROKINA__FILE__FREE ) );

define( 'TAROKINA_ADMIN_PATH_FREE', plugin_dir_path( TAROKINA__FILE__FREE ) . 'admin/' );
define( 'TAROKINA_ADMIN_URL_FREE', TAROKINA_URL_FREE . 'admin/' );
define( 'TAROKINA_LIB_PATH_FREE', TAROKINA_PATH_FREE . 'lib/' );
define( 'TAROKINA_LIB_URL_FREE', TAROKINA_URL_FREE . 'lib/' );
define( 'TAROKINA_PUBLIC_PATH_FREE', TAROKINA_PATH_FREE . 'public/' );
define( 'TAROKINA_PUBLIC_URL_FREE', TAROKINA_URL_FREE . 'public/' );
define( 'TAROKINA_TAROTS_PATH_FREE', TAROKINA_PATH_FREE . 'tarots/' );
define( 'TAROKINA_TAROTS_URL_FREE', TAROKINA_URL_FREE . 'tarots/' );



/**
 * The code that runs during plugin activation.
 * This action is documented in includes/class-tarokkina_free-activator.php
 */
function TkNa_activate_tarokkina_free() {
	require_once plugin_dir_path( __FILE__ ) . 'includes/class-tarokkina_free-activator.php';
	Tarokkina_free_Activator::TkNa_activate();
}

/**
 * The code that runs during plugin deactivation.
 * This action is documented in includes/class-tarokkina_free-deactivator.php
 */
function TkNa_deactivate_tarokkina_free() {
	require_once plugin_dir_path( __FILE__ ) . 'includes/class-tarokkina_free-deactivator.php';
	Tarokkina_free_Deactivator::TkNa_deactivate();
}

register_activation_hook( __FILE__, 'TkNa_activate_tarokkina_free' );
register_deactivation_hook( __FILE__, 'TkNa_deactivate_tarokkina_free' );

/**
 * 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-tarokkina_free.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.0.0
 */
function TkNa_run_tarokkina_free() {

	$plugin = new Tarokkina_free();
	$plugin->run();

}
TkNa_run_tarokkina_free();
