Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Fetch all images except the cover image
- $images = $page->images()->sortBy('sort', 'asc')->filter(function($image) {
- return !str::contains($image->filename(), 'cover');
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement