Function __global->read_get_syndication_option_fields

Definitions

sources/syndication.php

  • Get syndication field settings, and other context we may need to serialise.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

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)

Returns

  • Syndication field context
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get syndication field settings, and other context we may need to serialise.
 *
 * @param  ?string $content_type The content type this is for (null: none)
 * @return array Syndication field context
 */

function read_get_syndication_option_fields(?string $content_type) : array