Function Meta_tree_builder->put_in_screens
Definitions
sources/themes_meta_tree.php
- Put in a screen template/page hierarchy under a path.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $path | PATH | No | No | required parameter | N/A | N/A | The path |
| $theme | ID_TEXT | No | No | required parameter | N/A | N/A | The theme |
| $filter_level_b | ?string | No | No | Null | N/A | N/A | The second level of filter (null: no filter) |
| $callback | ?mixed | No | No | Null | N/A | N/A | Callback to run on each iteration (null: none) |
Preview
Code (PHP)
/**
* Put in a screen template/page hierarchy under a path.
*
* @param PATH $path The path
* @param ID_TEXT $theme The theme
* @param ?string $filter_level_b The second level of filter (null: no filter)
* @param ?mixed $callback Callback to run on each iteration (null: none)
*/
protected function put_in_screens(string $path, string $theme, ?string $filter_level_b = null, $callback = null)
* Put in a screen template/page hierarchy under a path.
*
* @param PATH $path The path
* @param ID_TEXT $theme The theme
* @param ?string $filter_level_b The second level of filter (null: no filter)
* @param ?mixed $callback Callback to run on each iteration (null: none)
*/
protected function put_in_screens(string $path, string $theme, ?string $filter_level_b = null, $callback = null)

