Search results for: admin
Disallow store credits if cart has subscription product
This snippet will remove the store credit option if the cart has a subscription product
Hide file-specific download options
This plugin hides file-specific download options so that All Access customers can only view/download the first…
Woocommerce: How to add minimum amount for different categories with different amount per category with different notice.
WooCommerce: Display Minimum Order Amount Notices by Category This code snippet adds functionality to your WooCommerce…
WP Simple Pay: Custom Decimal Separator
Changes the decimal separator from a . (period) to a , (comma).
Add Autofocus on Your Form
This snippet adds auto focus to the first field of your form when the page loads.
om-nextjs.js
import { useEffect } from 'react'; import { useRouter } from 'next/router'; const OptinMonsterEmbed = ()…
Estimated reading time
// Estimated reading time function readTime ( $content = '', $words_per_minute = 250, $with_gutenberg = false…
تغيير عمله
/** * Change a currency symbol */ add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2); function change_existing_currency_symbol( $currency_symbol, $currency )…
Remove Last Name at Checkout
Removes the Last Name field from the checkout page. Note: This worked with checkout shortcode only
LMS Extra Link in Dashboard Left Menu
add an extra Link in Dashboard Left Menu
How to Disable Browser Autocomplete for Form Fields - specific fields
/** * Disable autocomplete for a specific form and field ID * * @link https://wpforms.com/developers/disable-browser-autocomplete-for-form-fields/ */…
Move "Ships From" under the Product Meta, in the single product page template
Move "Ships From" under the Product Meta, in the single product page template by using 'product_ships_from'…
Remove WordPress Version Number
add_filter('the_generator', '__return_empty_string');
WordPress Memory Exhausted
WordPress is written in PHP, which is a server-side programming language. Additionally, every website needs a…