Function __global->cns_get_safe_specified_poster_name
Definitions
sources/cns_posts_action2.php
- Get the poster name a Guest may have specified, after sanitising it.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $is_required_good_value | ?boolean | No | No | Null | N/A | N/A | If it is a required field (null: typically no, but look at hidden option for it) |
Returns
- Poster name
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get the poster name a Guest may have specified, after sanitising it.
*
* @param ?boolean $is_required_good_value If it is a required field (null: typically no, but look at hidden option for it)
* @return string Poster name
*/
function cns_get_safe_specified_poster_name(?bool $is_required_good_value = null) : string
* Get the poster name a Guest may have specified, after sanitising it.
*
* @param ?boolean $is_required_good_value If it is a required field (null: typically no, but look at hidden option for it)
* @return string Poster name
*/
function cns_get_safe_specified_poster_name(?bool $is_required_good_value = null) : string

