Init development stack

This commit is contained in:
Jan-Niclas Loosen
2026-02-16 18:37:29 +01:00
commit 7f3fd36186
26 changed files with 7620 additions and 0 deletions

21
index.php Normal file
View File

@@ -0,0 +1,21 @@
<?php
/**
* Plugin Name: Acorn Plugin
* Description: Start für ein Acorn Wordpress Plugin
* Requires at least: 5.2
* Requires PHP: 8.4
* Version: 0.01
* Author: Jan-Niclas Loosen - Loosen-IT
* Author URI: https://loosen-it.de
*/
include_once 'bootstrap.php';
$renderHello = function () {
if (function_exists('view')) {
return view('hello-world')->render();
}
return 'Hello World';
};
add_shortcode('acorn_hello', $renderHello);