LLMS_Twenty_Twenty::modify_columns_count( int $cols )
Modify the number of catalog & checkout columns.
Description Description
If the default template is used, drop to a single column.
Parameters Parameters
- $cols
-
(int) (Required) Number of columns.
Return Return
(int)
Source Source
File: includes/theme-support/class-llms-twenty-twenty.php
public static function modify_columns_count( $cols ) { if ( 'thin' === self::get_page_template_class() ) { return 1; } return $cols; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.37.0 | Introduced. |