llms_get_certificates_loop_columns()

Retrieve the number of columns used in certificates loops


Return Return

(int)


Top ↑

Source Source

File: includes/functions/llms.functions.templates.certificates.php

function llms_get_certificates_loop_columns() {
	/**
	 * Filters the number of columns used to display a list of certificate previews.
	 *
	 * @since 3.14.0
	 *
	 * @param integer $cols Number of columns.
	 */
	return apply_filters( 'llms_certificates_loop_columns', 3 );
}


Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Reduced default columns from 5 to 3.
3.14.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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