Dodano obsługę tłumaczeń i ustawienia regionalne dla języka polskiego
This commit is contained in:
@@ -1,26 +1,28 @@
|
||||
<?php
|
||||
/*
|
||||
Plugin Name: In Contact test
|
||||
Plugin URI: https://krzysztof-turek.com
|
||||
Plugin Name: In Contact
|
||||
Plugin URI: https://rawlab.pl
|
||||
Description: Simple Contact Form
|
||||
Version: 1.0.1
|
||||
Author: Krzysztof Turek
|
||||
Author URI: https://krzysztof-turek.com
|
||||
License: GPL2
|
||||
License URI: https://krzysztof-turek.com
|
||||
License URI: https://rawlab.pl
|
||||
Text Domain: in-contact
|
||||
Domain Path: /languages
|
||||
*/
|
||||
|
||||
define("INCONTACT_PLUGIN_FILE", __FILE__);
|
||||
|
||||
use inContact\Init;
|
||||
|
||||
$pluginDirUrl = plugin_dir_url( __FILE__ );
|
||||
$pluginPath = plugin_dir_path( __FILE__ );
|
||||
$pluginDirUrl = plugin_dir_url(__FILE__);
|
||||
$pluginPath = plugin_dir_path(__FILE__);
|
||||
|
||||
if (file_exists(dirname(__FILE__) . "/inc/autoload.php")) {
|
||||
require_once dirname(__FILE__) . "/inc/autoload.php";
|
||||
}
|
||||
|
||||
if (class_exists("inContact\Init")) {
|
||||
|
||||
Init::getInstance();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user