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
//----------------------------------------------- | |
// Instructions for this file | |
//----------------------------------------------- | |
// This file will provide the basis for all the more specific files. All the | |
// options set in here will be used by `config.js` files unless they're | |
// overridden in that file. | |
// | |
// If you want to affect all coins at once, edit this file; you don't need to | |
// reboot the bots though, they'll see that the config changed. | |
//----------------------------------------------- |
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 | |
/* | |
Plugin Name: Promote Free Shipping (WooCommerce) | |
Plugin URI: http://www.damiencarbery.com | |
Description: Encourage customer to add more items to the cart to avail of free shipping. | |
Author: Damien Carbery | |
Version: 0.3 | |
*/ | |
class PromoteFreeShipping { |
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 | |
require dirname(__FILE__).'/wp-blog-header.php'; | |
$wpdb->query("DELETE FROM wp_terms WHERE term_id IN (SELECT term_id FROM wp_term_taxonomy WHERE taxonomy LIKE 'pa_%')"); | |
$wpdb->query("DELETE FROM wp_term_taxonomy WHERE taxonomy LIKE 'pa_%'"); | |
$wpdb->query("DELETE FROM wp_term_relationships WHERE term_taxonomy_id not IN (SELECT term_taxonomy_id FROM wp_term_taxonomy)"); | |
$wpdb->query("DELETE FROM wp_term_relationships WHERE object_id IN (SELECT ID FROM wp_posts WHERE post_type IN ('product','product_variation'))"); | |
$wpdb->query("DELETE FROM wp_postmeta WHERE post_id IN (SELECT ID FROM wp_posts WHERE post_type IN ('product','product_variation'))"); | |
$wpdb->query("DELETE FROM wp_posts WHERE post_type IN ('product','product_variation')"); |
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
---------- Usage | |
The syntax created by these parameters is placed in an alert's description on TradingView | |
to be utilized by Autoview, a Chrome Extension. | |
Autoview: https://chrome.google.com/webstore/detail/autoview/okdhadoplaoehmeldlpakhpekjcpljmb | |
> Website: https://autoview.with.pink | |
> Help: https://use.autoview.with.pink | |
> Discord: https://discordapp.com/invite/BFz8VPn | |
TradingView: https://tradingview.go2cloud.org/aff_c?offer_id=2&aff_id=1187 |