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.
Return Return
(bool)
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 ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.37.0 | Introduced. |