Browse
For agents
About
YayPricing – WooCommerce Dynamic Pricing & Discounts
/
trunk
YayPricing – WooCommerce Dynamic Pricing & Discounts
vtrunk
Switch version
3.5.7.2
3.5.7
3.5.6
trunk
1.9
2.1
2.2
2.3
2.3.1
2.4.1
2.4.2
2.4.3
2.4.4
2.4.5
2.4.6
2.4.8
2.4.8.2
2.4.9
2.4.9.1
2.4.9.2
2.5
2.5.2
2.5.3
2.5.4
3.0
All 38 releases
Overview
Code
yaypricing
/
includes
/
admin
/
views
/
html-require-php-version.php
html-require-php-version.php
in YayPricing – WooCommerce Dynamic Pricing & Discounts trunk, at includes/admin/views/html-require-php-version.php
24 lines
538 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
<
?
php
2
3
defined
(
'
ABSPATH
'
)
||
exit
;
4
5
add_action
(
6
'
admin_notices
'
,
7
function
(
)
{
8
if
(
current_user_can
(
'
activate_plugins
'
)
)
{
9
?
>
10
<
div
class
=
"
notice notice-error is-dismissible
"
>
11
<
p
>
12
<
strong
>
13
<
?
php
14
//
translators:
15
printf
(
esc_html__
(
'
YayPricing requires PHP 5.6 to work and does not support your current PHP version %1$s. Please contact your host and request a PHP upgrade to the latest one.
'
,
'
yaypricing
'
)
,
esc_html
(
phpversion
(
)
)
)
16
?
>
17
<
/
strong
>
18
<
/
p
>
19
<
/
div
>
20
<
?
php
21
}
22
}
23
)
;
24