LLMS_Twenty_Twenty::is_page_full_width( int $page_id )

Determine if the given page is utilizing the twenty twenty full-width page template.


Parameters Parameters

$page_id

(int) (Required) WP_Post ID of the catalog page.


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: includes/theme-support/class-llms-twenty-twenty.php

	protected static function is_page_full_width( $page_id ) {

		return 'templates/template-full-width.php' === get_page_template_slug( $page_id );

	}


Top ↑

Changelog 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.