Esconder alerta HPOS do Woocommerce
/*Esconder alerta HPOS do Woocommerce * [email protected], 01/07/25 */ add_action( ‘admin_head’, function() { echo ‘ ‘; });Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
/*Esconder alerta HPOS do Woocommerce * [email protected], 01/07/25 */ add_action( ‘admin_head’, function() { echo ‘ ‘; });Continue reading
document.addEventListener(‘DOMContentLoaded’, function() { const viewerCanvas = document.querySelector(‘.userInput canvas’); if (!viewerCanvas) return; // track when user starts grabbing viewerCanvas.addEventListener(‘mousedown’, function() { if (typeof gtag === ‘function’) { gtag(‘event’, ‘grab_start_3d’, { event_category: ‘Viewer 3D’, event_label: ‘mousedown’ }); } }); // track when…Continue reading
// Compatibilizar FiboSearch com HPOS (WooCommerce) add_action( ‘before_woocommerce_init’, function() { if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) { \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( ‘custom_order_tables’, ‘fibosearch/fibosearch.php’, true ); } });Continue reading
// ⚠️ Destrava o botão do HPOS mesmo que algum plugin force // Por [email protected] em 30/06/25 // 🔓 Força a liberação do botão de HPOS no WooCommerce, mesmo se plugin estiver forçando add_filter( ‘woocommerce_settings_features_force_enabled’, ‘__return_false’, 99 ); // 🧹…Continue reading
/* HIDE Monster Icon */ .monsterinsights-quick-links, .monsterinsights-float-right { display: none!important; } #monsterinsights_reports_widget { padding: 50px 0; } #monsterinsights_reports_widget .ui-sortable-handle { display: none!important; } /* Replace plugin logo */ .monsterinsights-logo-area img { content: url(‘https://www.coverings.com/wp-content/uploads/2024/11/Nation-Media-Dashboard-FX.png’); /* Adjust size if needed */ width:…Continue reading
add_action(‘wp_head’, function() { echo ‘‘; }, 1);Continue reading
return true;Continue reading
document.addEventListener(‘DOMContentLoaded’, function () { // Select all span elements inside the ul with the class ‘donation-amounts’ const amountSpans = document.querySelectorAll(‘.donation-amounts span.amount’); amountSpans.forEach(span => { // Get the current text content let value = span.textContent; // Find the index of the…Continue reading