Answers for "use scope in statamic template"

PHP
0

use scope in statamic template

public function apply($query, $values)
    {
        $query->orderBy('order_me', 'asc');
    }
    
// in template: {{ collection:foo query_scope="order_by_foo" }}
Posted by: Guest on March-12-2022

Browse Popular Code Answers by Language