Starter Plugin Generator

Home » WordPress Generators » Starter Plugin Generator

Related plugin generators Plugin header generator Go back to all generators

Allow SVG Uploads
Allow WebP Uploads
Redirect Attachment Pages
Redirect attachment pages to the parent post/page.
Disable Admin Bar
Disable the top bar for all users except admins.
Disable for Admins Too
Disable the top bar for admins too.
Disable Automatic Updates
Disable XML-RPC
Hide Login Errors
Remove WordPress Generator Tag
Remove WooCommerce Generator Tag
Remove X-Powered-By header
Remove Category Base
Remove the category base from the URL.
Remove Tag Base
Remove the tag base from the URL.
Change Author Slug
Change the author slug in the URL.
Enter the new author slug.
Change Default From Name
Change the default from name for emails.
Enter the default from name for emails.
Change Default From Email
Change the default from email for emails.
Enter the default from email for emails.
Remove Dashboard Welcome Panel
Remove the dashboard welcome message.
Disable Gutenberg
Disable the Gutenberg editor. Install the Classic Editor plugin afterwards.
Completely Disable Comments
Completely disable comments.
Lowercase File Upload Names
Automatically lowercase file upload Names.
Allow Shortcodes in Title
Allow shortcodes in the title.
                    /*
 * Plugin Name: WPTurbo Starter Plugin
 * Plugin URI: https://wpturbo.dev
 * Description: A starter plugin template.
 * Version: 1.0.0
 * Author: WPTurbo
 * Author URI: https://wpturbo.dev
 * Text Domain: wpturbo
*/

// Remove WordPress Version Generator Tag
remove_action( 'wp_head', 'wp_generator' );


// Remove WooCommerce Version Generator Tag
remove_action( 'wp_head', 'wc_generator' );


// Remove X-Powered-By
function wpturbo_remove_x_powered_by() {
    if (function_exists('header_remove')) {
        header_remove('x-powered-by');
    }
}
add_action('wp', 'wpturbo_remove_x_powered_by');
                

Sign up to save your WordPress snippets on WPTurbo.