Search results for: disable
Disable New User Notifications
Prevent the admin user from getting new user notification emails.
Disable XML-RPC
On sites running WordPress 3.5+, disable XML-RPC completely.
Force product type for all products
// Disable the product type drop down. add_filter('wcv_disable_product_type', function() { return true; } ); /** *…
Use Full Store Address in Ships From
add_filter( 'wcv_product_ships_from', 'ships_from_address' ); function ships_from_address( $field ){ global $post, $product; $shipping_disabled = wc_string_to_bool( get_option( 'wcvendors_shipping_management_cap',…
Disable comments
add_action('admin_init', function () { // Redirect any user trying to access comments page global $pagenow; if…
Use Full Store Address in Ships From
By default the Ships From metadata displayed under the add to cart button only shows the…
Disable WordPress Sitemaps
Disable the auto-generated WordPress Sitemaps added in version 5.5.
Disable Update Notifications
Disable all wordpress update notifications
Prevent Discounts on Upgrades
Does not allow a discount code to be applied when an license upgrade is present in…
Disable Right Click
Disable a right click on page.
Disable Gutenberg Editor (use Classic Editor)
Switch back to the Classic Editor by disablling the Block Editor.
Remove Google Fonts (non-Elementor)
function disable_google_fonts() { return false; } add_filter( 'print_google_fonts', 'disable_google_fonts' );
Removing the Redux Demo Mode Notice
Copyright © author Link: https://devs.redux.io/guides/basics/removing-demo-mode-notice.html The Redux Framework plugin ships with a sample config. This permits…
Optimized & Safe NexSouk Performance Booster Snippet (with toggles off for embeds + block CSS)
// NexSouk Performance Booster (Safe Version) // PHP performance enhancements for: // - Load speed //…
Disable XML-RPC (copy)
On sites running WordPress 3.5+, disable XML-RPC completely.