inc2734/wp-plugin-view-controller

0.2.0 2019-05-08 06:48 UTC

README

Build Status Latest Stable Version License

Install

$ composer require inc2734/wp-plugin-view-controller

How to use

use Inc2734\WP_Plugin_View_Controller\Bootstrap;

$bootstrap = new Bootstrap(
  [
    'prefix' => 'prefix_',
    'path'   => __DIR__ . '/templates/',
  ]
);

$bootstrap->render( $slug, $name, $args );