Function __global->cns_get_post_emphasis
Definitions
sources/cns_posts.php
- Get post emphasis Tempcode.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $_postdetails | array | No | No | required parameter | N/A | N/A | Map of post info |
| $topic_info | ?array | No | No | required parameter | N/A | N/A | Map of topic info (null: not available or not running Conversr) |
Returns
- A pair of emphasis class to use and the text Tempcode
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get post emphasis Tempcode.
*
* @param array $_postdetails Map of post info
* @param ?array $topic_info Map of topic info (null: not available or not running Conversr)
* @return array A pair of emphasis class to use and the text Tempcode
*/
function cns_get_post_emphasis(array $_postdetails, ?array $topic_info) : array
* Get post emphasis Tempcode.
*
* @param array $_postdetails Map of post info
* @param ?array $topic_info Map of topic info (null: not available or not running Conversr)
* @return array A pair of emphasis class to use and the text Tempcode
*/
function cns_get_post_emphasis(array $_postdetails, ?array $topic_info) : array

