1 | <?php |
||
11 | class Stencil_Page_Hook_Custom extends Stencil_Abstract_Page_Type { |
||
12 | |||
13 | /** |
||
14 | * Exection hook |
||
15 | * |
||
16 | * @param Stencil_Interface $controller Controller that initiated this class. |
||
17 | */ |
||
18 | public function execute( Stencil_Interface $controller ) { |
||
21 | |||
22 | /** |
||
23 | * Prepend {page_template} on the view stack for custom page |
||
24 | * |
||
25 | * @param array $options Current options. |
||
26 | * |
||
27 | * @return mixed |
||
28 | */ |
||
29 | public function set_template_as_first_option( $options ) { |
||
43 | } |
||
44 |