This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'comments_template', array( 'WC_Template_Loader', 'comments_template_loader' ) ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style> | |
/* Make the render take up the entire screen. */ | |
canvas { width: 100%; height: 100% } | |
</style> | |
<script src="three.js"></script> | |
</head> | |
<body> | |
<script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class WC_Data_Store_WP { | |
// . . . | |
/** | |
* Map WC_Query args into a format that WP_Query can parse. | |
* @param $args - array of query args from a WC_Query. | |
* @return array of query args that WP_Query can parse. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* First draft of the WooCommerce CRUD search helpers. | |
*/ | |
/** | |
* Base query class intended for extending. | |
*/ | |
class WC_Object_Query { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This is simple demo showing how to add and remove steps for the WooCommerce Setup Wizard | |
*/ | |
/** | |
* Add new steps to the setup wizard. | |
* To insert new steps in the middle use array_slice | |
* |