Archives: Snippets
rB2B Snippet
Untitled Snippet
google-site-verification=g9wMfW921xePieAMvJ8eCKo4HdXvhwUEJzdrSbJ_HCgContinue reading
Change Validation Messages for Required Fields – WPML
/** * Customize strings for WPForms form validation * * @link https://wpforms.com/developers/change-validation-messages-for-wpml/ */ function wpforms_dev_frontend_strings( $strings ) { $currentLanguage = defined( ‘ICL_LANGUAGE_CODE’ ) ? ICL_LANGUAGE_CODE : null; switch ( $currentLanguage ) { case ‘fr’: $strings[ ‘val_required’ ] = ‘Ce champ…Continue reading
Untitled Snippet
Untitled Snippet
Untitled Snippet
zrstore.com
Changing Multiple Properties on Store Credit Accordion Checkout Page
add_filter( ‘acfw_funnelkit_store_credit_field_labels’, function( $labels ) { $labels[‘toggle_text’] = ‘Apply Store Credit’; $labels[‘placeholder’] = ‘Enter your store credit code’; $labels[‘balance_text’] = ‘%s Your Available Credit:’; $labels[‘instructions’] = ‘Use your store credit to get discounts on your purchase.’; return $labels; });Continue reading
Customize Store Credit Accordion on Checkout Page
add_filter( ‘acfw_funnelkit_store_credit_field_labels’, function( $labels ) { $labels[‘toggle_text’] = ‘Custom Accordion Title’; return $labels; });Continue reading