handel request
This commit is contained in:
@@ -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