Function __global->find_gallery_watermarks

Definitions

sources/galleries2.php

  • Find how to apply gallery watermarks.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$gallery ID_TEXT No No required parameter N/A N/A The name of the gallery for the image

Returns

  • A quartet of watermark images suitable for handle_images_cleanup_pipeline (null: no watermark images)
  • Type: ?array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find how to apply gallery watermarks.
 *
 * @param  ID_TEXT $gallery The name of the gallery for the image
 * @return ?array A quartet of watermark images suitable for handle_images_cleanup_pipeline (null: no watermark images)
 */

function find_gallery_watermarks(string $gallery) : ?array