Browse
For agents
About
Smart Forms – when you need more than just a contact form
/
trunk
Smart Forms – when you need more than just a contact form
vtrunk
Switch version
trunk
0.5
0.5.5
0.6
0.7
0.8
0.8.5
0.9.1
Overview
Code
smart-forms
/
php_classes
/
api
/
SFApiActions.php
SFApiActions.php
in Smart Forms – when you need more than just a contact form trunk, at php_classes/api/SFApiActions.php
21 lines
459 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
/**
4
* Created by PhpStorm.
5
* User: Edgar
6
* Date: 9/11/2016
7
* Time: 8:17 AM
8
*/
9
class
SFApiActions
10
{
11
public
function
register_hooks
(
)
12
{
13
add_action
(
'
smart_formsa_include_systemjs
'
,
array
(
$
this
,
'
include_systemjs
'
)
)
;
14
}
15
16
public
function
include_systemjs
(
)
{
17
$
htmlToPrint
=
apply_filters
(
'
smart_formsf_include_systemjs
'
,
'
'
)
;
18
//
This html was escaped in the filter
19
echo
$
htmlToPrint
;
20
}
21
}