Function __global->placeholder_img_code
Definitions
sources/lorem.php
- Get a theme image code.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $type | string | No | No | Blank (empty string) | N/A | N/A | The theme image directory to find a code under |
Returns
- The code
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get a theme image code.
*
* @param string $type The theme image directory to find a code under
* @return string The code
*/
function placeholder_img_code(string $type = '') : string
* Get a theme image code.
*
* @param string $type The theme image directory to find a code under
* @return string The code
*/
function placeholder_img_code(string $type = '') : string

