Description
YM Site Kit is a collection of small, practical utilities designed to make working with your WordPress site more convenient and efficient.
The plugin is based on real-world experience building and maintaining dozens of WordPress sites and includes tools that most often prove essential.
It is lightweight and includes only what is necessary for most sites. You can enable only the utilities you need.
The plugin continues to evolve and gain new tools, adding only what is truly necessary for most sites based on experience from dozens of WordPress projects.
Plugin Actions
// Fires after saving Utilities. add_action( 'ymsk_utilities_saved', function () { ... } );
Advanced Columns
Adds useful columns to Post, Page, Plugin, and other list tables, and hides some rarely used ones.
Filters
// Sets the file size limit, exceeding which will trigger a warning. Default 400. apply_filters( 'ymsk_advanced_columns_max_file_size', int $filesize );
Comments Deactivator
Turns off the discussion system and hides comment-related elements in the admin interface.
Hide User Fields
Hides rarely used fields on the Edit User screen to simplify the interface.
Maintenance Mode
Allows only administrators to access the public part of the site.
Advanced Use
By default, in maintenance mode, visitors see the plugin’s standard information page. However, you can create a maintenance.php file in your theme’s root directory. If this file exists, it will be used instead of the default page.
You can check if the maintenance mode is enabled using this code:
if ( class_exists( 'YMSK_Plugin' ) && YMSK_Plugin::is_utility_enabled( 'maintenance-mode' ) ) { // Maintenance mode enabled. }
Filters
// HTML content of default maintenance page <body>. apply_filters( 'ymsk_maintenance_mode_content', string $content );
Media Converter
Automatically compresses and converts images to WebP upon upload.
SVG Logo
Replaces the <img> element with <svg> when using get_custom_logo() function and the logo file is an SVG.
SVG Support
Allows administrators to safely upload SVG files to the media library and use them.
Transliterator
Automatically replaces certain symbols in Post and Term slugs on save.
Filters
// Transliteration symbols map. apply_filters( 'ymsk_transliterator_map', array $symbols );
Logger
Provides built-in functionality for simple data logging.
Filters
// List of allowed files to use. Default: [ 'common' ]. apply_filters( 'ymsk_logger_allowed_files', array $files );
// Log files extension to use. Default: 'txt'. apply_filters( 'ymsk_logger_file_extension', string $extension );
// Max limit of log file lines. Default: 1000. apply_filters( 'ymsk_logger_max_lines', int $limit );