Browse
For agents
About
Visual Website Optimizer
/
4.7
Visual Website Optimizer
v4.7
Switch version
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
4.1
4.10
All 37 releases
Overview
Code
visual-web-optimizer
/
VwoPlugin.php
VwoPlugin.php
in Visual Website Optimizer 4.7, 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