• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WooCommerce a2z

WooCommerce a2z

WooCommerce

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Classes / WC_Template_Loader

Methods

1 to 19 of 19
  • WC_Template_Loader::comments_template_loader() – Load comments template.
  • WC_Template_Loader::force_single_template_filter() – Force the loading of one of the single templates instead of whatever template was about to be loaded.
  • WC_Template_Loader::get_current_shop_view_args() – Get information about the current shop page view.
  • WC_Template_Loader::get_template_loader_default_file() – Get the default filename for a template.
  • WC_Template_Loader::get_template_loader_files() – Get an array of filenames to search for a given template.
  • WC_Template_Loader::in_content_filter() – Are we filtering content for unsupported themes?
  • WC_Template_Loader::init() – Hook in methods.
  • WC_Template_Loader::template_loader() – Load a template.
  • WC_Template_Loader::unsupported_archive_layered_nav_compatibility() – Add layered nav args to WP_Query args generated by the ‘products’ shortcode.
  • WC_Template_Loader::unsupported_theme_comments_number_filter() – Suppress the comments number on the Shop page for unsupported themes since there is no commenting on the Shop page.
  • WC_Template_Loader::unsupported_theme_init() – Hook in methods to enhance the unsupported theme experience on pages.
  • WC_Template_Loader::unsupported_theme_product_content_filter() – Filter the content and insert WooCommerce content on the shop page.
  • WC_Template_Loader::unsupported_theme_product_page_init() – Hook in methods to enhance the unsupported theme experience on Product pages.
  • WC_Template_Loader::unsupported_theme_remove_review_tab() – Remove the Review tab and just use the regular comment form.
  • WC_Template_Loader::unsupported_theme_shop_content_filter() – Filter the content and insert WooCommerce content on the shop page.
  • WC_Template_Loader::unsupported_theme_shop_page_init() – Hook in methods to enhance the unsupported theme experience on the Shop page.
  • WC_Template_Loader::unsupported_theme_single_featured_image_filter() – Prevent the main featured image on product pages because there will be another featured image in the gallery.
  • WC_Template_Loader::unsupported_theme_tax_archive_init() – Enhance the unsupported theme experience on Product Category and Attribute pages by rendering those pages using the single template and shortcode-based content. To do this we make a dummy post and set a shortcode as the post content. This approach is adapted from bbPress.
  • WC_Template_Loader::unsupported_theme_title_filter() – Filter the title and insert WooCommerce content on the shop page.

Extended by

Class name: WC_Template_Loader
Plugin ref: WooCommerce
Version: 4.8.0
Sourcefile: includes/class-wc-template-loader.php
File ref: includes/class-wc-template-loader.php
API Letters: L,T,W

Published: 26th November 2019 | Last updated: 10th December 2020

Primary Sidebar

Information

Class name: WC_Template_Loader
Plugin ref: WooCommerce
Version: 4.8.0
Sourcefile: includes/class-wc-template-loader.php
File ref: includes/class-wc-template-loader.php
API Letters: L,T,W

Footer

WooCommerce a2z
WooCommerce a2z
WooCommerce
WordPress 5.6
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  woocommerce.wp-a2z.org
© Copyright WooCommerce a2z 2014-2021. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites