Function __global->get_news_category_image_url
Definitions
sources/news.php
- Find a news category image from a string that may have multiple interpretations.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $nc_img | string | No | No | required parameter | N/A | N/A | URL / theme image code / blank |
Returns
- URL (blank: not found or not specified)
- Type: URLPATH
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find a news category image from a string that may have multiple interpretations.
*
* @param string $nc_img URL / theme image code / blank
* @return URLPATH URL (blank: not found or not specified)
*/
function get_news_category_image_url(string $nc_img) : string
* Find a news category image from a string that may have multiple interpretations.
*
* @param string $nc_img URL / theme image code / blank
* @return URLPATH URL (blank: not found or not specified)
*/
function get_news_category_image_url(string $nc_img) : string
