chore: create and add plugin template

created with help by these Websites:
[Delicious Brains](https://deliciousbrains.com/wordpress-plugin-development-template-files/)
[Wordpress Plugin Boilerplate generator](https://wppb.me/)
This commit is contained in:
Rai-Ka committed 2023-11-04 00:57:15 +01:00
1 parent 36e5bec83b
commit 28fa2b7db7
22 files changed
+1346

No files matched your search

@@ -0,0 +1,47 @@
<?php
/**
* Define the internationalization functionality
*
* Loads and defines the internationalization files for this plugin
* so that it is ready for translation.
*
* @link https://wpdev.rainer-kehnen.de
* @since 1.0.0
*
* @package Rk_Wichteln
* @subpackage Rk_Wichteln/includes
*/
/**
* Define the internationalization functionality.
*
* Loads and defines the internationalization files for this plugin
* so that it is ready for translation.
*
* @since 1.0.0
* @package Rk_Wichteln
* @subpackage Rk_Wichteln/includes
* @author Rainer Kehnen <wpdev.plugin@rainer-kehnen.de>
*/
class Rk_Wichteln_i18n {
/**
* Load the plugin text domain for translation.
*
* @since 1.0.0
*/
public function load_plugin_textdomain() {
load_plugin_textdomain(
'rk-wichteln',
false,
dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
);
}
}