Mike Jolley
eb6b4efc01
Shortcode injection
2017-11-08 16:46:15 +00:00
Mike Jolley
3d9902c4d5
Page template should have higher priority.
2017-09-20 15:47:30 +01:00
Emran Ahmed
066a857d19
Supporting Custom Post Type Template
...
Supporting Custom Post Type Template for Single Product.
2017-09-17 02:22:05 +06:00
Rasmus Bengtsson
185934fad9
Fix phpdoc to include params and correct types
2017-05-15 13:50:52 +02:00
Claudio Sanches
59c2849736
Changed version 2.7 to 3.0
2017-03-15 13:36:53 -03:00
Mike Jolley
724f832b40
Fix get_template_loader_files
...
Fixes #12958
2017-01-31 09:56:27 +01:00
Mike Jolley
201f89b19a
Clean up template loader logic
2016-12-06 11:52:15 +00:00
Kalen Johnson
2d7e6e7206
Filter the template loader files
...
Over at Roots we've been working on implementing Laravel's Blade templating engine with the next release of the Sage theme. The filters for the template hierarchy coming in WP 4.7 are going to be very valuable. Looking to accomplish the same thing with 3rd party plugins as well.
A theme using a templating engine would still be able to filter the default templates such as `archive-product.php`, however keeping the functionality that including a `woocommerce.php` file would be nice to be able to use as well.
This PR I believe adds the ability to add a file similar to `woocommerce.php` while not allowing anyone to filter any of the extra functionality away from Woocommerce.
2016-12-03 10:16:18 -08:00
Aristeides Stathopoulos
ec8a0b288b
PHPCS: WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast
2016-08-27 05:08:49 +03:00
Pascal Birchler
cf80c5855e
Do not filter the embed template path
2016-04-25 11:27:53 +02:00
Fredrik Forsmo
bb19615029
Improve docblock comments in various WC_* classes
...
* Added comments to various methods
* Fixed various properties comments and param types
2016-01-06 16:24:47 +01:00
Nicola Mustone
c9da4f928a
check if ABSPATH is defined
2015-11-06 10:22:19 +01:00
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02:00
Mike Jolley
d1de7f42b9
Made template debug mode set WC_TEMPLATE_DEBUG_MODE constant and remove all overrides for all template loading functions.
...
Closes #6436
2014-10-03 10:52:11 +01:00
Alexandru Furculita
494b55abac
Update class-wc-template-loader.php
2014-06-19 15:45:09 +03:00
Mike Jolley
e198ee517a
Made stateless classes static to allow unhooking of hooks
...
Closes #5151
2014-05-28 14:52:50 +01:00
Mike Jolley
a1809f1e56
Tweak template loader to work with other WC product taxonomies.
...
Closes #5521
2014-05-22 10:59:48 +01:00
Coen Jacobs
47ae00be28
Page functions woocommerce to wc refactor
2013-11-25 15:07:22 +01:00
Mike Jolley
e143d344e5
Constants
2013-10-24 19:36:22 +01:00
Mike Jolley
90ba359ef9
Uninstall option Closes #3968 . Change option for #3992
2013-10-23 17:21:03 +01:00
Scott Basgaard
9c9bfe1f4c
Add template debug mode option. First pass at #3941
2013-10-23 17:52:58 +02:00
Mike Jolley
355dd16962
Removed @coenjacobs helpers and cleaned up main clas
2013-09-12 14:41:02 +01:00