Created
March 24, 2018 21:38
-
-
Save themeblvd/e5577dfbfa9b6319d693d3dd51cfd9cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Just set up an array and pass it to the function, and | |
// echo out the returned HTML. | |
$atts = array( | |
'link' => $videourl, | |
'thumb' => $videothumb, | |
); | |
echo themeblvd_shortcode_lightbox( $atts ); | |
// And you can simplify it by just passing the array directly | |
// to the function, also. | |
echo themeblvd_shortcode_lightbox( array( | |
'link' => $videourl, | |
'thumb' => $videothumb, | |
) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment