bacoords / block-styles-manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Block Styles Manager

This is an in progress project to create a block styles manager for WordPress. The idea is to create a UI to manage block styles.

Follow along here: https://www.briancoords.com/build-in-public/

Filters

block-styles-manager/location

This filter allows you to change the location of the directory where CSS files are saved. By default, the directory is located in /wp-content/block-styles.

add_filter( 'block-styles-manager/location', function( $location ) {
	return get_template_directory() . '/block-styles';
} );

About


Languages

Language:JavaScript 99.2%Language:PHP 0.8%Language:SCSS 0.0%