Overview
Removes WordPress block-specific CSS classes from frontend output to reduce HTML bloat and allow for cleaner, custom styling.
Removable Block Classes
The module provides toggles to remove the following WordPress block CSS classes:
- Heading —
wp-block-heading - List —
wp-block-list - Image —
wp-block-image - Paragraph —
wp-block-paragraph - Quote —
wp-block-quote - Table —
wp-block-table - Group —
wp-block-group - Columns —
wp-block-columns,wp-block-column - Buttons —
wp-block-buttons,wp-block-button
Developer Filters
Developers can extend the cleanup functionality using the functionalities_block_cleanup_classes filter to add additional classes for removal:
add_filter( 'functionalities_block_cleanup_classes', function( $classes ) {
$classes[] = 'wp-block-gallery';
return $classes;
});
Configuration

The plugin includes a settings interface where users can selectively toggle which block classes are removed from the frontend output.