handel request
This commit is contained in:
1 parent
b23b66a02b
commit
ce1ee62d66
18 files changed
+941
-2
No files matched your search
@@ -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");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user