Browse
For agents
About
WebberZone Top 10 — Popular Posts
/
4.5.1
WebberZone Top 10 — Popular Posts
v4.5.1
Switch version
4.5.1
4.5.0
4.4.3
4.4.2
4.4.1
4.4.0
4.3.4
4.3.3
4.3.2
4.3.1
4.3.0
trunk
1.0
1.0.1
1.1
1.2
1.3
1.4
1.4.1
1.5
1.5.1
1.5.2
1.5.3
1.6
1.6.1
All 117 releases
Overview
Code
top-10
/
includes
/
frontend
/
blocks
/
src
/
popular-posts
/
render.php
render.php
in WebberZone Top 10 — Popular Posts 4.5.1, at includes/frontend/blocks/src/popular-posts/render.php
14 lines
393 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
* Server-side renderer for the Popular Posts block.
4
*
5
*
@package
WebberZone\Top_Ten
6
*/
7
8
if
(
!
isset
(
$
attributes
)
||
!
is_array
(
$
attributes
)
)
{
9
$
attributes
=
array
(
)
;
10
}
11
12
//
phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- The block renderer returns escaped markup.
13
echo
\
WebberZone
\
Top_Ten
\
Frontend
\
Blocks
\
Blocks
::
render_block_popular_posts
(
$
attributes
)
;
14