WIP
This commit is contained in:
@@ -104,6 +104,9 @@ return [
|
|||||||
return "<div>".do_shortcode($content)."</div>".PHP_EOL;
|
return "<div>".do_shortcode($content)."</div>".PHP_EOL;
|
||||||
},
|
},
|
||||||
"vc_single_image" => function ($attr) {
|
"vc_single_image" => function ($attr) {
|
||||||
|
return "";
|
||||||
|
|
||||||
|
// code that actually tries to do something with this shortcode content
|
||||||
$imageID = $attr["image"] ?? "";
|
$imageID = $attr["image"] ?? "";
|
||||||
return "<div>".$imageID."</div>";
|
return "<div>".$imageID."</div>";
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user