Browse
For agents
About
Slideshow SE
/
2.5
Slideshow SE
v2.5
Switch version
2.7.2
2.7.1
trunk
2.5
2.5.1
2.5.10
2.5.11
2.5.12
2.5.13
2.5.14
2.5.15
2.5.16
2.5.17
2.5.18
2.5.19
2.5.2
2.5.20
2.5.3
2.5.4
2.5.5
2.5.6
2.5.7
2.5.8
2.5.9
2.6.0
All 26 releases
Overview
Code
slideshow-se
/
src
/
block.php
block.php
in Slideshow SE 2.5, at src/block.php
15 lines
410 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
* Render callback for the dynamic block. All this does is call the deploy function
5
* of the SlideshowSEPlugin class.
6
*
7
*
@since
2.5.0
8
*
@param
mixed
$attributes
9
*/
10
function
f1rehead_slideshow_render_slideshow_block
(
$
attributes
)
{
11
ob_start
(
)
;
//
start buffering to avoid the already-sent-headers error
12
SlideshowSEPlugin
::
deploy
(
$
attributes
[
'
selectedSlideshow
'
]
)
;
13
return
ob_get_clean
(
)
;
14
}
15