[...], 'pro' => [...]]. */ public static function catalog(): array { return require __DIR__ . '/free-templates-data.php'; } /** * Seed the wpwand_data option from the built-in catalog. Mirrors wpwand_get_data($sync): * writes only when the option is empty, or when $force (the "Sync" action) is set. */ public static function seed(bool $force = false): bool { if (!get_option('wpwand_data') || $force) { return (bool) update_option('wpwand_data', self::catalog()); } return false; } }