Browse
For agents
About
Wingify
/
4.15
Wingify
v4.15
Switch version
4.15
4.16
trunk
1.0
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
3.0
3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.8
3.9
4.0
All 39 releases
Overview
Code
visual-web-optimizer
/
VwoPlugin.php
VwoPlugin.php
in Wingify 4.15, at VwoPlugin.php
15 lines
353 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
include_once
plugin_dir_path
(
__FILE__
)
.
'
VwoTemplater.php
'
;
3
4
defined
(
'
ABSPATH
'
)
or
exit
;
5
6
class
VwoPlugin
7
{
8
static
public
function
render
(
$
template
,
$
args
=
[
]
)
{
9
return
call_user_func
(
10
[
new
VwoTemplater
(
[
plugin_dir_path
(
__FILE__
)
.
'
/templates
'
]
)
,
'
render
'
]
,
11
$
template
,
12
$
args
)
;
13
}
14
}
15