/** * Hide Price & Add to Cart for Non Logged in Users for Specific Products */ function is_non_purchasable_products_for_visitors( $product ) { $not_purchasable_products = array( 23, 22 ); // Replace with Products ID you want to set as non purchasable…Continue reading
// This code runs every time the page is opened/reloaded $visits = 1; if (isset($_COOKIE[‘visits’])) { $visits = (int)$_COOKIE[‘visits’] + 1; } setcookie(‘visits’, $visits, time() + (86400 ), “/”); // Cookie lasts 1 days if ( ! defined( ‘EMAIL_SENT_PAGE_410’ )…Continue reading
/** * Fix WPForms Accessibility: Add aria-label to progress bar. */ function wpf_fix_wpforms_progressbar_aria() { ?>Continue reading
/** * WPForms Custom Real-time Keyword Blocklist * * @link https://wpforms.com/developers/add-a-real-time-keyword-blocklist-to-a-single-line-text-field/ */ function wpf_dev_realtime_keyword_blocker() { ?>Continue reading
/** * Allow only specific days of each month in all WPForms date pickers. * * @link https://wpforms.com/developers/customize-the-date-time-field-date-options/ */ function wpf_dev_only_selected_days() { ?>Continue reading
/* Plugin Name: WC Vídeo na Capa do Produto (Flatsome Ready) Description: Substitui a imagem principal do produto por um vídeo local (MP4/WebM/GIF) no WooCommerce, compatível com Flatsome. Mostra também no catálogo/listagem com autoplay por visibilidade (60%). Version: 1.2.1 Author:…Continue reading