first commit

This commit is contained in:
2024-07-15 11:28:08 +02:00
commit f52d538ea5
21891 changed files with 6161164 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php
/**
* File that define P24_Woo_Commerce_Low_Level_Getter class.
*
* @package Przelewy24
*/
defined( 'ABSPATH' ) || exit;
/**
* Class that let access low level variables of Woo Commerce.
*
* It should be used with caution.
*/
class P24_Woo_Commerce_Low_Level_Getter {
/**
* Get currency from configuration of Woo Commerce.
*
* Try to bypass as many Woo Commerce hooks as possible.
*
* @return string
*/
public static function get_unhooked_currency_form_woocommerce() {
return (string) get_option( P24_Woo_Commerce_Internals::CURRENCY );
}
}