plugin->path. "/templates/"; return $paths; } ); add_action( 'blockx_collect', function ( Gutenberg $gutenberg ) { $gutenberg->addBlockType( new Postqueue() ); } ); } }