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.

Top ↑

Parameters Parameters


(int) (Required) Number of columns.

Top ↑

Return Return


Top ↑

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;


Top ↑

Changelog Changelog

Version Description
3.37.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.