Browse
For agents
About
Gutenify – Visual Site Builder Blocks & Starter Templates
/
1.8.0
Gutenify – Visual Site Builder Blocks & Starter Templates
v1.8.0
Switch version
1.9.0
1.8.0
1.7.0
1.6.6
1.6.5
1.6.4
trunk
0.0.1
0.0.2
0.0.3
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
All 74 releases
Overview
Code
gutenify
/
core
/
dist
/
blocks
/
search-toggle
/
index.php
index.php
in Gutenify – Visual Site Builder Blocks & Starter Templates 1.8.0, at core/dist/blocks/search-toggle/index.php
30 lines
423 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
* Search Toggle Block
4
*
5
*
@package
gutenify
6
*/
7
8
namespace
gutenify
\
Blocks
\
SearchToggle
;
9
10
defined
(
'
ABSPATH
'
)
||
exit
;
11
12
class
SearchToggle
{
13
14
/**
15
* Init function.
16
*/
17
public
static
function
init
(
)
{
18
add_action
(
'
init
'
,
array
(
__CLASS__
,
'
register_block
'
)
)
;
19
}
20
21
/**
22
* Register the block.
23
*/
24
public
static
function
register_block
(
)
{
25
register_block_type
(
__DIR__
)
;
26
}
27
}
28
29
SearchToggle
::
init
(
)
;
30