Added a Docker-based fresh WordPress integration test

This commit is contained in:
2026-05-31 13:15:43 +03:30
parent 2703e956da
commit 6419f82ea5
7 changed files with 422 additions and 4 deletions
+4 -1
View File
@@ -1,10 +1,13 @@
<?php
if (!function_exists('view')) {
function view(string $view)
function view(string $view): string
{
$basedir = plugin_dir_path(__FILE__);
ob_start();
include "{$basedir}resources/views/$view.php";
return ob_get_clean();
}
}