Copyright Footer

if ($link === ‘true’ || $link === ‘yes’ || $link === ‘y’) { echo ‘© ‘ . get_option( ‘blogname’ ) . ‘ — Part of the Pyramid Healthcare Family | Call to Get Help: ‘ . do_shortcode(‘[phone_number link=”true”]’); } else…Continue reading

LegitScript Badge

$lg_id = get_field(‘legitscript_id’, ‘option’); if ($align == ‘right’ || $align == ‘center’ || $align == ‘left’) { echo ‘ ‘; } else { echo ‘‘; }Continue reading

Automatic lazy rendering exclusion

// add_filter( ‘rocket_lrc_optimization’, ‘__return_false’ , 999 ); add_filter( ‘rocket_lrc_exclusions’, function( $exclusions ) { $exclusions[] = ‘breakdance”‘; return $exclusions; } );Continue reading

Gravity Forms – Entry Count Shortcode

/** * Gravity Wiz // Gravity Forms // Entry Count Shortcode * * Extends the [gravityforms] shortcode, providing a custom action to retrieve the total entry count and * also providing the ability to retrieve counts by entry status (i.e.…Continue reading

Disabilita metodi di pagamento se azienda o partita iva

add_filter( ‘woocommerce_checkout_fields’, function( $fields ) { $fields[‘billing’][‘tipologia_cliente’][‘class’][] = ‘update_totals_on_change’; $fields[‘billing’][‘billing_company’][‘class’][] = ‘update_totals_on_change’; $fields[‘billing’][‘billing_piva’][‘class’][] = ‘update_totals_on_change’; return $fields; }, 9999); add_filter( ‘woocommerce_available_payment_gateways’, function($available_gateways) { if ( ! is_admin() && WC()->session ) { $billing_azienda = false; //nikon store ha la tipologia cliente…Continue reading