Show Gutenberg's Reusable Blocks in WordPress Admin

1
2
- function blocks_to_admin($args, $post_type){
- if ( 'wp_block' !== $post_type ) {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Function to make Gutenberg's reusable blocks visible in WordPress admin section. I updated to remove the filtering part where the Reusable blocks are converted to a CPT. I just need the Reusable Blocks added to the admin section.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.