Using Date Picker Localization
/** * Apply the date picker locale strings. * * @link https://wpforms.com/developers/localize-the-date-picker-strings/ */ function wpf_dev_datepicker_apply_locale() { ?>Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
/** * Apply the date picker locale strings. * * @link https://wpforms.com/developers/localize-the-date-picker-strings/ */ function wpf_dev_datepicker_apply_locale() { ?>Continue reading
/** * Load the date picker locale strings. * * @link https://wpforms.com/developers/localize-the-date-picker-strings/ */ function wpf_dev_datepicker_locale( $forms ) { if ( true === wpforms_has_field_type( ‘date-time’, $forms, true )){ wp_enqueue_script( ‘wpforms-datepicker-locale’, ‘https://npmcdn.com/[email protected]/dist/l10n/es.js’, array( ‘wpforms-flatpickr’ ), null, true ); } } add_action( ‘wpforms_frontend_js’,…Continue reading
/* 1. Use a more-intuitive box-sizing model */ *, *::before, *::after { box-sizing: border-box; } /* 2. Remove default margin */ * { margin: 0; } body { /* 3. Add accessible line-height */ line-height: 1.5; /* 4. Improve text…Continue reading
/** * Hiding Zero Quantity Items in Email Notifications for Payment Fields * * @link https://wpforms.com/developers/how-to-hide-zero-quantity-items-in-dropdown-payment-field-notifications */ add_filter(‘wpforms_entry_email_data’, function ($fields, $entry, $form_data) { foreach ($fields as $field_id => $field) { // Adjust to handle ‘payment-single’, ‘payment-select’, or any other types…Continue reading
HT7QEURQBGMT8HF2N Home v4Continue reading
add_filter(‘tutor_dashboard/nav_items’, ‘add_some_links_dashboard’); function add_some_links_dashboard($links){ $links[‘custom_link’] = [ “title” => __(‘My link Title’, ‘tutor’), “url” => “https://youtube.com”, “icon” => “tutor-icon-file-blank-page tutor-dashboard-menu-item-icon”, ]; return $links; }Continue reading
/** * Skip empty page breaks if the condition is not met * * @link https://wpforms.com/developers/how-to-skip-page-breaks-when-using-conditional-logic/ */ function wpf_dev_skip_empty_pages() { ?>Continue reading
“name”: “phpmyadmin/phpmyadmin”, “type”: “project”, “description”: “A web interface for MySQL and MariaDB”, “keywords”: [“phpmyadmin”,”mysql”,”web”], “homepage”: “https://www.phpmyadmin.net/”, “support”: { “forum”: “https://www.phpmyadmin.net/support/”, “issues”: “https://github.com/phpmyadmin/phpmyadmin/issues”, “wiki”: “https://wiki.phpmyadmin.net/”, “docs”: “https://docs.phpmyadmin.net/”, “source”: “https://github.com/phpmyadmin/phpmyadmin” }, “license”: “GPL-2.0-only”, “authors”: [ { “name”: “The phpMyAdmin Team”, “email”: “[email protected]”,…Continue reading
function wpcode_snippet_replace_howdy( $wp_admin_bar ) { // Edit the line below to set what you want the admin bar to display intead of “Howdy,”. $new_howdy = ‘Welcome,’; $my_account = $wp_admin_bar->get_node( ‘my-account’ ); if ( ! isset( $my_account->title ) ) { return;…Continue reading