add_filter( ‘gform_confirmation_anchor’, ‘__return_true’ );Continue reading
/** 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
/** * Extend native WordPress shortcode block with live preview */ if ( ! defined( ‘ABSPATH’ ) ) exit; class Enhanced_Shortcode_Block { public function __construct() { add_action( ‘enqueue_block_editor_assets’, array( $this, ‘enqueue_assets’ ) ); // Ensure shortcodes work in other blocks…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