/** Removes the “Login with GoDaddy” SSO Integration. */ add_action( ‘plugins_loaded’, function() { add_filter( ‘wpaas_gd_sso_button_enabled’, ‘__return_false’, 99999999, 1 ); } );Continue reading
/** * Plugin Name: Shuffles Z-Index Debugger * Description: Adds a visual z-index overlay tool with an admin bar toggle, styled to match the Shuffles theme. * Version: 1.0 * Author: ToughGigs Tools */ // Add the toggle button to…Continue reading
/** * Site Logo block: live height preview with dropdown under Dimensions and width slider removed */ if ( ! defined( ‘ABSPATH’ ) ) exit; // Default pixel heights function afs_logo_sizes_defaults() { return array( ‘small’ => 50, ‘medium’ => 80,…Continue reading
/** * Smart-Buttons und Zahlungsbereich ausblenden, wenn der Warenkorb leer ist * Funktioniert auf Desktop & Mobile mit Woo/FunnelKit Checkout */ add_action(‘woocommerce_checkout_before_customer_details’, function () { if ( function_exists(‘WC’) && WC()->cart ) { printf( ‘‘, WC()->cart->get_cart_contents_count() ); } }); add_filter(‘woocommerce_update_order_review_fragments’, function…Continue reading
function skip_to_checkout_on_add_to_cart($url) { return wc_get_checkout_url(); } add_filter(‘woocommerce_add_to_cart_redirect’, ‘skip_to_checkout_on_add_to_cart’);Continue reading
add_filter( ‘woocommerce_cart_updated_notice_type’, ‘__return_false’ );Continue reading
add_filter( ‘wc_add_to_cart_message_html’, ‘__return_false’ );Continue reading
add_filter( ‘wp_revisions_to_keep’, function( $limit ) { // Limit to the last 5 revisions. Change 5 to whatever limit you want. return 5; } );Continue reading