| 1 |
<?php |
| 2 |
/** |
| 3 |
* Default block definitions for GutSlider. |
| 4 |
* |
| 5 |
* Returns the complete list of available slider blocks with their |
| 6 |
* metadata. This file is used by both the API and block registration |
| 7 |
* systems to determine which blocks are available. |
| 8 |
* |
| 9 |
* @package GutSlider\Api |
| 10 |
* @since 1.0.0 |
| 11 |
* |
| 12 |
* @return array<int, array<string, mixed>> Array of block definition arrays. |
| 13 |
*/ |
| 14 |
|
| 15 |
if ( ! defined( 'ABSPATH' ) ) { |
| 16 |
exit; |
| 17 |
} |
| 18 |
|
| 19 |
return apply_filters( |
| 20 |
'gutslider_blocks', |
| 21 |
array( |
| 22 |
array( |
| 23 |
'name' => 'content-slider', |
| 24 |
'title' => __( 'Static', 'slider-blocks' ), |
| 25 |
'description' => __( 'Create slider with static content like Image, text, button.', 'slider-blocks' ), |
| 26 |
'is_pro' => false, |
| 27 |
'demo_slug' => 'static', |
| 28 |
'active' => true, |
| 29 |
), |
| 30 |
array( |
| 31 |
'name' => 'any-content', |
| 32 |
'title' => __( 'Flexible', 'slider-blocks' ), |
| 33 |
'description' => __( 'Create slider with any type of content.', 'slider-blocks' ), |
| 34 |
'is_pro' => false, |
| 35 |
'demo_slug' => 'flexible', |
| 36 |
'active' => true, |
| 37 |
), |
| 38 |
array( |
| 39 |
'name' => 'testimonial-slider', |
| 40 |
'title' => __( 'Testimonial', 'slider-blocks' ), |
| 41 |
'description' => __( 'Create amazing testimonial slider.', 'slider-blocks' ), |
| 42 |
'is_pro' => false, |
| 43 |
'demo_slug' => 'testimonial', |
| 44 |
'active' => true, |
| 45 |
), |
| 46 |
array( |
| 47 |
'name' => 'photo-carousel', |
| 48 |
'title' => __( 'Photo Carousel', 'slider-blocks' ), |
| 49 |
'description' => __( 'Create amazing photos carousel with lightbox.', 'slider-blocks' ), |
| 50 |
'is_pro' => false, |
| 51 |
'demo_slug' => 'photo', |
| 52 |
'active' => true, |
| 53 |
), |
| 54 |
array( |
| 55 |
'name' => 'logo-carousel', |
| 56 |
'title' => __( 'Brand Logos', 'slider-blocks' ), |
| 57 |
'description' => __( 'Create clients logos carousel with amazing styles.', 'slider-blocks' ), |
| 58 |
'is_pro' => false, |
| 59 |
'demo_slug' => 'brand-logos', |
| 60 |
'active' => true, |
| 61 |
), |
| 62 |
array( |
| 63 |
'name' => 'before-after', |
| 64 |
'title' => __( 'Before After', 'slider-blocks' ), |
| 65 |
'description' => __( 'Create photos comparision before after slider.', 'slider-blocks' ), |
| 66 |
'is_pro' => false, |
| 67 |
'demo_slug' => 'before-after', |
| 68 |
'active' => true, |
| 69 |
), |
| 70 |
array( |
| 71 |
'name' => 'videos-carousel', |
| 72 |
'title' => __( 'Videos', 'slider-blocks' ), |
| 73 |
'description' => __( 'Create videos carousel from video sharing platform e.g YouTube', 'slider-blocks' ), |
| 74 |
'is_pro' => false, |
| 75 |
'demo_slug' => 'videos', |
| 76 |
'active' => true, |
| 77 |
), |
| 78 |
array( |
| 79 |
'name' => 'post-slider', |
| 80 |
'title' => __( 'Blog Post', 'slider-blocks' ), |
| 81 |
'description' => __( 'Create dynamic content slider or carousel using blog posts.', 'slider-blocks' ), |
| 82 |
'is_pro' => false, |
| 83 |
'demo_slug' => 'post-slider', |
| 84 |
'active' => true, |
| 85 |
), |
| 86 |
array( |
| 87 |
'name' => 'shader-slider', |
| 88 |
'title' => __( 'Shader Slider', 'slider-blocks' ), |
| 89 |
'description' => __( 'Interactive shader slider for static and dynamic content.', 'slider-blocks' ), |
| 90 |
'is_pro' => true, |
| 91 |
'demo_slug' => 'shader-slider', |
| 92 |
'active' => true, |
| 93 |
), |
| 94 |
array( |
| 95 |
'name' => 'shutters-slider', |
| 96 |
'title' => __( 'Shutters Slider', 'slider-blocks' ), |
| 97 |
'description' => __( 'Interactive shutters slider for static and dynamic content.', 'slider-blocks' ), |
| 98 |
'is_pro' => true, |
| 99 |
'demo_slug' => 'shutters-slider', |
| 100 |
'active' => true, |
| 101 |
), |
| 102 |
array( |
| 103 |
'name' => 'slicer-slider', |
| 104 |
'title' => __( 'Slicer Slider', 'slider-blocks' ), |
| 105 |
'description' => __( 'Interactive slicer slider for static and dynamic content.', 'slider-blocks' ), |
| 106 |
'is_pro' => true, |
| 107 |
'demo_slug' => 'slicer-slider', |
| 108 |
'active' => true, |
| 109 |
), |
| 110 |
array( |
| 111 |
'name' => 'fashion-slider', |
| 112 |
'title' => __( 'Fashion Slider', 'slider-blocks' ), |
| 113 |
'description' => __( 'Interactive fashion slider for static and dynamic content.', 'slider-blocks' ), |
| 114 |
'is_pro' => true, |
| 115 |
'demo_slug' => 'fashion-slider', |
| 116 |
'active' => true, |
| 117 |
), |
| 118 |
array( |
| 119 |
'name' => 'triple-slider', |
| 120 |
'title' => __( 'Triple Slider', 'slider-blocks' ), |
| 121 |
'description' => __( 'Interactive triple slider for static and dynamic content.', 'slider-blocks' ), |
| 122 |
'is_pro' => true, |
| 123 |
'demo_slug' => 'triple-slider', |
| 124 |
'active' => true, |
| 125 |
), |
| 126 |
array( |
| 127 |
'name' => 'spring-carousel', |
| 128 |
'title' => __( 'Spring Carousel', 'slider-blocks' ), |
| 129 |
'description' => __( 'Interactive spring carousel for static and dynamic content.', 'slider-blocks' ), |
| 130 |
'is_pro' => true, |
| 131 |
'demo_slug' => 'spring-carousel', |
| 132 |
'active' => true, |
| 133 |
), |
| 134 |
array( |
| 135 |
'name' => 'panorama-carousel', |
| 136 |
'title' => __( 'Panorama Carousel', 'slider-blocks' ), |
| 137 |
'description' => __( 'Interactive panorama carousel for static and dynamic content.', 'slider-blocks' ), |
| 138 |
'is_pro' => true, |
| 139 |
'demo_slug' => 'panorama-carousel', |
| 140 |
'active' => true, |
| 141 |
), |
| 142 |
array( |
| 143 |
'name' => 'three-d-carousel', |
| 144 |
'title' => __( '3D Carousel', 'slider-blocks' ), |
| 145 |
'description' => __( 'Interactive 3D carousel for static and dynamic content.', 'slider-blocks' ), |
| 146 |
'is_pro' => true, |
| 147 |
'demo_slug' => '3d-carousel', |
| 148 |
'active' => true, |
| 149 |
), |
| 150 |
array( |
| 151 |
'name' => 'card-slider', |
| 152 |
'title' => __( 'Card Slider', 'slider-blocks' ), |
| 153 |
'description' => __( 'Interactive card slider for static and dynamic content.', 'slider-blocks' ), |
| 154 |
'is_pro' => true, |
| 155 |
'demo_slug' => 'card-slider', |
| 156 |
'active' => true, |
| 157 |
), |
| 158 |
array( |
| 159 |
'name' => 'marquee-carousel', |
| 160 |
'title' => __( 'Marquee Carousel', 'slider-blocks' ), |
| 161 |
'description' => __( 'Interactive marquee carousel for static and dynamic content.', 'slider-blocks' ), |
| 162 |
'is_pro' => true, |
| 163 |
'demo_slug' => 'marquee-carousel', |
| 164 |
'active' => true, |
| 165 |
), |
| 166 |
array( |
| 167 |
'name' => 'material-carousel', |
| 168 |
'title' => __( 'Material Carousel', 'slider-blocks' ), |
| 169 |
'description' => __( 'Interactive material carousel for static and dynamic content.', 'slider-blocks' ), |
| 170 |
'is_pro' => true, |
| 171 |
'demo_slug' => 'material', |
| 172 |
'active' => true, |
| 173 |
), |
| 174 |
array( |
| 175 |
'name' => 'tinder-slider', |
| 176 |
'title' => __( 'Tinder Slider', 'slider-blocks' ), |
| 177 |
'description' => __( 'Interactive tinder slider for static and dynamic content.', 'slider-blocks' ), |
| 178 |
'is_pro' => true, |
| 179 |
'demo_slug' => 'tinder-slider', |
| 180 |
'active' => true, |
| 181 |
), |
| 182 |
array( |
| 183 |
'name' => 'hover-slider', |
| 184 |
'title' => __( 'Hover Slider', 'slider-blocks' ), |
| 185 |
'description' => __( 'Interactive hover slider for static and dynamic content.', 'slider-blocks' ), |
| 186 |
'is_pro' => true, |
| 187 |
'demo_slug' => 'hover-slider', |
| 188 |
'active' => true, |
| 189 |
), |
| 190 |
array( |
| 191 |
'name' => 'product-carousel', |
| 192 |
'title' => __( 'Woo Product Carousel', 'slider-blocks' ), |
| 193 |
'description' => __( 'Showcase WooCommerce products in a responsive carousel.', 'slider-blocks' ), |
| 194 |
'is_pro' => true, |
| 195 |
'demo_slug' => 'product-carousel', |
| 196 |
'active' => true, |
| 197 |
), |
| 198 |
array( |
| 199 |
'name' => 'product-categories-carousel', |
| 200 |
'title' => __( 'Woo Categories Carousel', 'slider-blocks' ), |
| 201 |
'description' => __( 'Showcase WooCommerce product categories in a responsive carousel.', 'slider-blocks' ), |
| 202 |
'is_pro' => true, |
| 203 |
'demo_slug' => 'product-categories-carousel', |
| 204 |
'active' => true, |
| 205 |
), |
| 206 |
) |
| 207 |
); |
| 208 |
|