Search results for: disable
Completely Disable Comments
add_action('admin_init', function () { // Redirect any user trying to access comments page global $pagenow; if…
Disable Gravatar Avatars
Prevent WordPress from loading gravatar avatars for users.
Disable Emojis
/** * Disable the emojis in WordPress. */ add_action( 'init', function () { remove_action( 'wp_head', 'print_emoji_detection_script',…
WP Simple Pay: Disable Stripe Payment Terms
Disable the automatically generated payment form mandates. NOTE: No recommended. Some payment methods require mandates to…
Disable XML-RPC
On sites running WordPress 3.5+, disable XML-RPC completely.
Disable Order Receipt Email Optimizations
In Easy Digital Downloads 3.2.0+, the Purchase Confirmation (or Receipt) email sent to customers is sent…
Disable All Page Builder Integration
This filter can be used to completely disable our page builder integration for all builders.
Remove Google Fonts (non-Elementor)
function disable_google_fonts() { return false; } add_filter( 'print_google_fonts', 'disable_google_fonts' );
Disable New User Notifications
Prevent the admin user from getting new user notification emails.
Disable Custom Link Format of AIOSEO in the Block and Classic Editors
This snippet can be used to disable the custom link format that All in One SEO…
Disable WordPress Sitemaps
Disable the auto-generated WordPress Sitemaps added in version 5.5.
Disable Plugin & Theme Editor
Prevent users from using the Plugin & Theme file editor.
Disable The WP Admin Bar
Hide the WordPress Admin Bar for all users in the frontend.
MemberPress: Disable Unauthorized Redirection on a Specific Page or Post
Adding this code snippet will prevent unauthorized users from being redirected away from the specific page…
MemberPress: Disable the Unauthorized Redirection for Multiple Pages And/or Posts
Adding this code snippet will prevent unauthorized users from being redirected away from specific pages if…