Search results for: disable
Hide Price & Add to Cart for Non Logged in Users for Specific Products
This code snippet allows you to hide the price and 'Add to Cart' button for users…
Force account creation by cart total
Force account creation at checkout if the cart total is a certain amount and the quantity…
Clear Auto Fill in WooCommerce Checkout
Clears the auto fill on the WooCommerce Checkout page.
Title
Describe
Recreate the aioseo_cache table
This code snippet recreates the missing 'aioseo_cache' table. This code snippet should be enabled and executed…
Hide the ‘Screen Options’ Tab on admin bar
Remove the Screen Options menu at the top of the admin bar.
Remove users from WP-JSON
Increase your site's security by hiding usernames from WP-JSON, that are otherwise exposed to the public.
Hotfix: Remove Stripe Statement Descriptor
In EDD 3.2.8, Easy Digital Downloads changed how Statement Descriptors are used with Stripe Payments to…
Remove Gutenberg Blocks CSS
add_action( 'wp_enqueue_scripts', function () { wp_dequeue_style( 'wp-block-library' ); wp_dequeue_style( 'wp-block-library-theme' ); // Remove WooCommerce block CSS…
WordPress Content Filter: Removing Tags for Enhanced Display Control
The purpose of this code snippet is to filter out tags and their contents from the…
Elementor - Fix the Accordion SEO issue
add_filter( 'elementor/widget/render_content', function ( $widget_content, $widget ) { if ( 'accordion' === $widget->get_name() ) { $widget_content…
Remove hyperlink from name field
add_filter('preprocess_comment', 'remove_links_from_comment_author'); function remove_links_from_comment_author($commentdata) { // Regular expression to detect hyperlinks $pattern = '/