Function __global->newsletter_get_category_choices

Definitions

sources/newsletter.php

  • Get text representing content categories the user can rearrange etc.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$cutoff_time TIME No No required parameter N/A N/A Cutoff time for when new content must be available
$lang LANGUAGE_NAME No No required parameter N/A N/A Language to send in

Returns

  • Categories
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get text representing content categories the user can rearrange etc.
 *
 * @param  TIME $cutoff_time Cutoff time for when new content must be available
 * @param  LANGUAGE_NAME $lang Language to send in
 * @return string Categories
 */

function newsletter_get_category_choices(int $cutoff_time, string $lang) : string