Function __global->get_syndication_option_fields
Definitions
sources/syndication.php
- Get syndication field UI.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $content_type | ?string | No | No | required parameter | N/A | N/A | The content type this is for (null: none) |
| $is_edit | boolean | No | No | False | N/A | N/A | If these options are for an edit |
Returns
- Syndication fields (or empty)
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get syndication field UI.
*
* @param ?string $content_type The content type this is for (null: none)
* @param boolean $is_edit If these options are for an edit
* @return Tempcode Syndication fields (or empty)
*/
function get_syndication_option_fields(?string $content_type, bool $is_edit = false) : object
* Get syndication field UI.
*
* @param ?string $content_type The content type this is for (null: none)
* @param boolean $is_edit If these options are for an edit
* @return Tempcode Syndication fields (or empty)
*/
function get_syndication_option_fields(?string $content_type, bool $is_edit = false) : object
