1 | <?php |
||
29 | class ShortcodeTemplateLoader extends Gamajo_Template_Loader { |
||
30 | |||
31 | /** |
||
32 | * Directory name of the shortcode views. |
||
33 | * |
||
34 | * @var string |
||
35 | * |
||
36 | * @since 0.2.6 |
||
37 | */ |
||
38 | protected $view_directory; |
||
39 | |||
40 | /** |
||
41 | * Instantiate a ShortcodeTemplateLoader object. |
||
42 | * |
||
43 | * @since 0.2.6 |
||
44 | * |
||
45 | * @param string $filter_prefix Prefix for filter names. |
||
46 | * @param string $template_dir Directory name for custom templates. |
||
47 | * @param string $view_dir Directory name for the shortcode views. |
||
48 | */ |
||
49 | public function __construct( $filter_prefix, $template_dir, $view_dir ) { |
||
54 | |||
55 | /** |
||
56 | * Return the path to the templates directory in this plugin. |
||
57 | * |
||
58 | * @since 0.2.6 |
||
59 | * |
||
60 | * @return string |
||
61 | */ |
||
62 | protected function get_templates_dir() { |
||
65 | } |
||
66 |