Function __global->read_privacy_fields
Definitions
sources/content_privacy2.php
- Reading privacy settings from the POST environment.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $prefix | string | No | No | Blank (empty string) | N/A | N/A | Prefix for field naming |
Returns
- A pair: the privacy level, the list of usernames
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Reading privacy settings from the POST environment.
*
* @param string $prefix Prefix for field naming
* @return array A pair: the privacy level, the list of usernames
*/
function read_privacy_fields(string $prefix = '') : array
* Reading privacy settings from the POST environment.
*
* @param string $prefix Prefix for field naming
* @return array A pair: the privacy level, the list of usernames
*/
function read_privacy_fields(string $prefix = '') : array

