Function __global->delete_video

Definitions

sources/galleries2.php

  • Delete a video in a specified gallery.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$id AUTO_LINK No No required parameter N/A N/A The ID of the entry to delete
$delete_full boolean No No True N/A N/A Whether to delete the actual video file from disk as well as the entry

Preview

Code (PHP)

/**
 * Delete a video in a specified gallery.
 *
 * @param  AUTO_LINK $id The ID of the entry to delete
 * @param  boolean $delete_full Whether to delete the actual video file from disk as well as the entry
 */

function delete_video(int $id, bool $delete_full = true)