This file contains 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
.//reporting/extending-woocommerce-admin-reports.md | |
298:🎉 We can now view our Orders Report and see the currency reflected in monetary values throughout the report. | |
.//reporting/README.md | |
7:> ⚠️ **Notice:** This documentation is currently a **work in progress**. While it's open to the public for transparency and collaboration, please be aware that some sections might be incomplete or subject to change. We appreciate your patience and welcome any contributions! | |
.//payments/payment-gateway-plugin-base.md | |
5:This code can be used as a base to create your own simple custom payment gateway for WooCommerce. If not used in a custom plugin, you need to add this code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the [Code snippets](https://wordpress.org/plugins/code-snippets/) plugin. Please don’t add custom code directly to your parent theme’s functions.php file as this will be wiped entirely when you update the theme. | |
17: Copyright: © 2009-2011 WooThem |
This file contains 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
// Tax rate 1 was 8.5% | |
// Tax rate 2 between 3% and 10% on .5% increments | |
price: 10.10, rate 2: 9.00, wc tax: 1.84, round tax: 1.85 | |
price: 10.20, rate 2: 3.50, wc tax: 1.25, round tax: 1.26 | |
price: 10.30, rate 2: 3.00, wc tax: 1.21, round tax: 1.22 | |
price: 10.40, rate 2: 3.50, wc tax: 1.28, round tax: 1.27 | |
price: 10.50, rate 2: 4.50, wc tax: 1.41, round tax: 1.40 | |
price: 10.80, rate 2: 5.00, wc tax: 1.50, round tax: 1.51 | |
price: 10.90, rate 2: 7.00, wc tax: 1.75, round tax: 1.76 |
This file contains 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 | |
/* | |
Plugin Name: Fix Action Scheduler Action IDs | |
Version: 0.2 | |
Author: Automattic | |
Author URI: https://automattic.com/ | |
Description: This is a one time use plugin designed to address a fatal error during AS migration where the identity field in the actionscheduler_actions table did not get set before actions were migrated. | |
License: GNU General Public License v3.0 (or later) | |
License URI: http://www.opensource.org/licenses/gpl-license.php |
This file contains 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
for F in `git status | grep modified | cut -f4 -d' '` ; do git checkout -- $F ; done |
This file contains 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 | |
/* | |
register the menu across the network | |
*/ | |
register_nav_menu( 'global', 'Global Navigation Menu' ); | |
/* | |
remove the menu from the menu screen on sub sites to avoid confusing users | |
*/ | |
add_action( 'admin_init', 'global_nav_menu_init' ); |