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: WooCommerce API Key Warning | |
* Description: Warns administrators about WooCommerce API keys before user deletion | |
* Version: 1.0.0 | |
* Author: Patrick Rauland | |
* Requires PHP: 8.2 | |
* Requires Plugins: woocommerce | |
* | |
* @package WooCommerce_API_Key_Warning |
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
#!/usr/bin/env python3 | |
from gql import gql, Client | |
from gql.transport.requests import RequestsHTTPTransport | |
from gql.transport.exceptions import TransportQueryError | |
import json | |
import time | |
import os | |
bearer = "YOURBEARERTOKEN" |
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
#!/usr/bin/env python3 | |
from gql import gql, Client | |
from gql.transport.requests import RequestsHTTPTransport | |
from gql.transport.exceptions import TransportQueryError | |
import json | |
import time | |
import os | |
bearer = "YOURBEARERTOKEN" |
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
#!/usr/bin/env bash | |
curl -X POST -H "Content-Type: application/json" -d \ | |
'{ "username": "EMAILHERE", | |
"password": "PWHERE" | |
}' \ | |
"https://public-api.shiphero.com/auth/token" |
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
#!/usr/bin/env python3 | |
from gql import gql, Client | |
from gql.transport.requests import RequestsHTTPTransport | |
from gql.transport.exceptions import TransportQueryError | |
import json | |
import time | |
import os | |
bearer = ADDYOURTOKENHERE |
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 | |
/** | |
* Example Sending Conversion Event via Action Scheduler | |
*/ | |
if ( ! function_exists( 'update_event_tracking_software' ) ) { | |
/** | |
* Handle order status changes and send events to event tracking software PAP updates. | |
*/ | |
function update_event_tracking_software( $order_id, $old_status, $new_status ) { |
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: WooCommerce Example Plugin | |
* Requires Plugins: woocommerce | |
* Plugin URI: http://speakinginbytes.com | |
* Description: Our custom WooCommerce functionality | |
* Version: 2.0 | |
* Author: Patrick Rauland | |
* Author URI: http://speakinginbytes.com | |
* License: GPL2 |
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: WooCommerce Make Sale Prices Accessible | |
Plugin URI: https://gist.github.com/BFTrick/47b0710a6d27332d0c109cfe75c58be6 | |
Description: Make WooCommerce sale prices accessible | |
Version: 1.0 | |
Author: Patrick Rauland | |
Author URI: http://speakinginbytes.com | |
License: GPL2 | |
License URI: https://www.gnu.org/licenses/gpl-2.0.html |
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: WooCommerce Move Product Page Price Lower | |
Plugin URI: https://gist.github.com/BFTrick/e19bd2bb648558ca78279c3d5ba9524e | |
Description: A demo plugin to move the WooCommerce sinmple product price lower | |
Version: 1.0 | |
Author: Patrick Rauland | |
Author URI: http://speakinginbytes.com | |
License: GPL2 | |
License URI: https://www.gnu.org/licenses/gpl-2.0.html |
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
.home .products .product .price { | |
opacity: 0; | |
} | |
.home .products .product:hover .price { | |
-webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both; | |
animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both; | |
} | |
/* ---------------------------------------------- |
NewerOlder