register_block( 'image-generator' ); } /** * Register Block Category */ public function register_block_category( $categories, $post ) { return array_merge( array( array( 'slug' => 'ai-image', 'title' => __( 'Ai image', 'ai-image' ), ), ), $categories, ); } } /** * Kickoff */ BDTHEMES_AI_IMAGE::init();