https://github.com/bacoords/block-styles-manager
https://github.com/bacoords/block-styles-manager
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/bacoords/block-styles-manager
- Owner: bacoords
- Created: 2024-01-29T18:16:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-23T23:05:10.000Z (over 1 year ago)
- Last Synced: 2025-07-19T14:36:23.827Z (about 1 year ago)
- Language: JavaScript
- Size: 1.23 MB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 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`.
```php
add_filter( 'block-styles-manager/location', function( $location ) {
return get_template_directory() . '/block-styles';
} );
```