handel request

This commit is contained in:
2025-07-15 16:59:35 +03:30
parent b23b66a02b
commit ce1ee62d66
18 changed files with 941 additions and 2 deletions
+9
View File
@@ -0,0 +1,9 @@
<?php
if (!function_exists('view')) {
function view(string $view): string
{
$basedir = plugin_dir_path(__FILE__);
return file_get_contents("{$basedir}resources/views/$view.php");
}
}