-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpronamic-money.php
More file actions
39 lines (36 loc) · 946 Bytes
/
pronamic-money.php
File metadata and controls
39 lines (36 loc) · 946 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
39
<?php
/**
* Plugin Name: Pronamic Money
* Plugin URI: https://www.pronamic.eu/plugins/pronamic-money/
* Description: WordPress Money library.
*
* Version: 2.4.4
* Requires at least: 4.7
* Requires PHP: 7.4
*
* Author: Pronamic
* Author URI: https://www.pronamic.eu/
*
* Text Domain: pronamic-money
* Domain Path: /languages/
*
* License: GPL-3.0-or-later
*
* GitHub URI: https://github.com/pronamic/wp-money
*
* @author Pronamic <info@pronamic.eu>
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Pronamic Money load plugin text domain.
*/
function pronamic_money_load_plugin_textdomain() {
load_plugin_textdomain( 'pronamic-money', false, basename( __DIR__ ) . '/languages' );
}
add_action( 'init', 'pronamic_money_load_plugin_textdomain' );
add_action( 'change_locale', 'pronamic_money_load_plugin_textdomain' );