SEO additions

This commit is contained in:
Mark Gregory
2026-10-02 09:58:22 +01:00
parent 9a6687096a
commit cbb1f0c366
78 changed files with 1122 additions and 3 deletions
+12
View File
@@ -0,0 +1,12 @@
<?php
use Modules\Paddle\Support\ModuleInfo;
if (! function_exists('paddle_feature_enabled')) {
/**
* Check if a feature is enabled in the config.
*/
function paddle_feature_enabled(string $key): bool
{
return (bool) config(ModuleInfo::nameLower().".features.{$key}", false);
}
}