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
// ==UserScript== | |
// @name JIRA Dumb Links | |
// @namespace s4nji.com | |
// @version 2024.01.10.1 | |
// @description Disable JIRA Smart Links | |
// @author s4nji | |
// @match https://*.atlassian.net/browse* | |
// @grant GM_webRequest | |
// @webRequest [{ "selector": "https://*.atlassian.net/gateway/api/object-resolver/check", "action": "cancel" }] | |
// @webRequest [{ "selector": "https://*.atlassian.net/gateway/api/object-resolver/providers", "action": "cancel" }] |
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
### Keybase proof | |
I hereby claim: | |
* I am s4nji on github. | |
* I am s4nji (https://keybase.io/s4nji) on keybase. | |
* I have a public key ASDoTrXmnCggtpuWHspE7qMeUto5WJuYNDm27-_-473z2Qo | |
To claim this, I am signing this object: |
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 | |
add_action( 'wp' , 'wc_order_tabs' ); | |
function wc_order_tabs() { | |
// Remove tabs | |
remove_action( 'woocommerce_product_tabs', 'woocommerce_product_description_tab', 10 ); | |
remove_action( 'woocommerce_product_tabs', 'woocommerce_product_attributes_tab', 20 ); | |
remove_action( 'woocommerce_product_tabs', 'woocommerce_product_reviews_tab', 30 ); |