Skip to content

Instantly share code, notes, and snippets.

@thisissandip
thisissandip / Forums notice - Escalate to PA View
Created August 30, 2022 06:52
Forums notice - Escalate to PA View
// ==UserScript==
// @name WordPress.org Escalate to PAs
// @description Check if this is a forum revie
// @include https://*.wordpress.org/support/topic/*
// @include https://*.wordpress.org/support/view/*
// @include https://wordpress.org/support/topic/*
// @include https://wordpress.org/support/view/*
// @require https://code.jquery.com/jquery-1.11.0.min.js
// ==/UserScript==
@thisissandip
thisissandip / Move Payment Request Buttons button - WC Stripe.txt
Last active July 9, 2025 20:30
Move Payment Request Buttons button - WC Stripe
/**
* Move Payment Request Buttons button - Stripe
*/
function move_woocommerce_stripe_payment_request_buttons() {
$PaymentReqBtnInst = WC_Stripe_Payment_Request::instance();
//Checkout Page
remove_action( 'woocommerce_checkout_before_customer_details', array( $PaymentReqBtnInst, 'display_payment_request_button_separator_html' ), 2 );
remove_action( 'woocommerce_checkout_before_customer_details', array( $PaymentReqBtnInst, 'display_payment_request_button_html' ), 1 );
@thisissandip
thisissandip / FontAwesome5List.js
Created April 24, 2021 21:04
All Font Awesome 5 Free Icons
let allFAicons = [
'fas fa-ad',
'fas fa-address-book',
'fas fa-address-card',
'fas fa-adjust',
'fas fa-air-freshener',
'fas fa-align-center',
'fas fa-align-justify',
'fas fa-align-left',
'fas fa-align-right',