$site->hasImages()
Checks if there are any images (jpg, png, gif, etc.) placed directly in /content
-
return (boolean)
Example
<?php if($site->hasImages()): ?>
The /content folder contains images.
<?php endif ?>
Checks if there are any images (jpg, png, gif, etc.) placed directly in /content
<?php if($site->hasImages()): ?>
The /content folder contains images.
<?php endif ?>