*/ public static function get_all(): array { return [ 'donors_wall' => self::stub( __( 'Donors Wall', 'better-payment' ), 'groups', [ __( 'Shows real donors from your campaign payments', 'better-payment' ), __( 'List, grid or auto-scrolling ticker layouts', 'better-payment' ), __( 'Choose which donor details and totals to show', 'better-payment' ), ] ), 'faq' => self::stub( __( 'FAQ', 'better-payment' ), 'editor-help', [ __( 'Answer the questions donors ask before giving', 'better-payment' ), __( 'Collapsible accordion or open-list styles', 'better-payment' ), __( 'Add, reorder and pre-open as many questions as you need', 'better-payment' ), ] ), 'video' => self::stub( __( 'Video', 'better-payment' ), 'format-video', [ __( 'Embed YouTube, Vimeo or a video from your Media Library', 'better-payment' ), __( 'Responsive 16:9, 4:3, 1:1 and 21:9 players', 'better-payment' ), __( 'Autoplay, loop, mute and start-time controls', 'better-payment' ), ] ), ]; } /** * One stub definition. * * @param string $label Palette and settings-panel label. * @param string $icon Dashicons suffix. * @param string[] $features Upgrade-banner feature list. * @return array */ private static function stub( string $label, string $icon, array $features ): array { return [ 'label' => $label, 'icon' => $icon, 'pro' => true, 'proFeatures' => $features, 'settingsSchema' => [], 'defaultSettings' => [], ]; } }