-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpronamic-datetime.php
More file actions
38 lines (35 loc) · 901 Bytes
/
pronamic-datetime.php
File metadata and controls
38 lines (35 loc) · 901 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/**
* Plugin Name: Pronamic DateTime
* Plugin URI: https://www.pronamic.eu/plugins/pronamic-datetime/
* Description: WordPress DateTime library.
*
* Version: 2.2.0
* Requires at least: 4.7
* Requires PHP: 7.4
*
* Author: Pronamic
* Author URI: https://www.pronamic.eu/
*
* Text Domain: pronamic-datetime
* Domain Path: /languages/
*
* License: GPL-3.0-or-later
*
* GitHub URI: https://github.com/pronamic/wp-datetime
*
* @author Pronamic <info@pronamic.eu>
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Pronamic DateTime load plugin text domain.
*/
function pronamic_datetime_load_plugin_textdomain() {
load_plugin_textdomain( 'pronamic-datetime', false, basename( __DIR__ ) . '/languages' );
}
add_action( 'init', 'pronamic_datetime_load_plugin_textdomain' );