[cta_banner_desktop] – with shimmer button
add_shortcode(‘cta_banner_desktop’, function() { ob_start(); ?> Only – apply before 31 July to avoid a £100 late application fee APPLY NOWContinue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
add_shortcode(‘cta_banner_desktop’, function() { ob_start(); ?> Only – apply before 31 July to avoid a £100 late application fee APPLY NOWContinue reading
add_shortcode(‘cta_banner_mobile’, function() { ob_start(); ?> Only – apply before 31 July to avoid a £100 late application feeContinue reading
add_filter( ‘the_password_form’, ‘custom_password_form_text’, 20 ); function custom_password_form_text( $output ) { // Replace the default WordPress text with your custom message $old_text = ‘This content is password protected. To view it please enter your password below:’; $new_text = ‘This content is…Continue reading
add_filter( ‘lpfw_filter_get_settings_sections’, function( $response ) { $data = $response->get_data(); // Build options dynamically from all registered WooCommerce order statuses $status_options = array(); foreach ( wc_get_order_statuses() as $slug => $label ) { $status_options[] = array( ‘key’ => str_replace( ‘wc-‘, ”, $slug…Continue reading
if ( ! function_exists( ‘yith_wcaf_gateway_bacs_bacs_name_label’ ) ) { function yith_wcaf_gateway_bacs_bacs_name_label( $label ) { $label = ‘Account Name’; return $label; } add_filter( ‘yith_wcaf_gateway_bacs_bacs_name_label’, ‘yith_wcaf_gateway_bacs_bacs_name_label’, 10, 1 ); add_filter( ‘yith_wcaf_account_name_label’, ‘yith_wcaf_gateway_bacs_bacs_name_label’, 10, 1 ); } if ( ! function_exists( ‘yith_wcaf_gateway_bacs_bacs_iban_label’ ) )…Continue reading
/** * Fix 1: Product page — prevent WWPP from overriding the quantity input args for * WC Product Bundle child items. * * WC Product Bundles names bundled item quantity fields ‘bundle_quantity_{id}’. * We capture WC PB’s intended args…Continue reading
add_filter( ‘woocommerce_add_cart_item_data’, function( $cart_item_data, $product_id ) { $og_channel = get_post_meta( $product_id, ‘og_channel’, true ); if ( $og_channel ) { $cart_item_data[‘og_channel’] = $og_channel; } return $cart_item_data; }, 10, 2 );Continue reading
add_filter( ‘woocommerce_coupon_validate_minimum_amount’, function ( $is_invalid, $coupon, $subtotal ) { if ( ! $is_invalid ) { return $is_invalid; } $bogo_deals = get_post_meta( $coupon->get_id(), ‘_acfw_bogo_deals’, true ); if ( empty( $bogo_deals ) ) { return $is_invalid; } $pre_bogo_subtotal = 0.0; foreach (…Continue reading
function shortcode_pods_universel($atts) { // 1. Définition des arguments $args = shortcode_atts(array( ‘name’ => ”, // Nom de votre page d’options Pods ‘template’ => ”, // Nom du template de mise en page ‘futur’ => ”, // Nom du champ date…Continue reading