register( new EmailSample() ); $widgets_manager->register( new EmailAddress() ); $widgets_manager->register( new PhoneNumber() ); $widgets_manager->register( new CopyButton() ); $widgets_manager->register( new CopyIcon() ); $widgets_manager->register( new Blockquote() ); $widgets_manager->register( new CodeSnippet() ); $widgets_manager->register( new Message() ); $widgets_manager->register( new Wish() ); $widgets_manager->register( new Shayari() ); $widgets_manager->register( new SMS() ); $widgets_manager->register( new Deal() ); $widgets_manager->register( new Coupon() ); $widgets_manager->register( new AIPromptGenerator() ); } public static function get_blocks() { return [ [ 'id' => 'email-sample', 'name' => 'Email Sample', 'description' => 'Create the email sample and allow users to copy it.', ], [ 'id' => 'email-address', 'name' => 'Email Address', 'description' => 'Add the email address and allow users to copy it.', ], [ 'id' => 'phone-number', 'name' => 'Phone Number', 'description' => 'Add the phone number and allow users to copy it.', ], [ 'id' => 'copy-button', 'name' => 'Copy Button', 'description' => 'Add the copy button and add the hidden content which you want to copy.', ], [ 'id' => 'copy-icon', 'name' => 'Copy Icon', 'description' => 'Add the copy icon and add the hidden content which you want to copy.', ], [ 'id' => 'blockquote', 'name' => 'Blockquote', 'description' => 'Create the blockquote and allow users to copy the text.', ], [ 'id' => 'code-snippet', 'name' => 'Code Snippet', 'description' => 'Create the code snippet and allow users to copy the text.', ], ]; } }