Function __global->delete_news

Definitions

sources/news2.php

  • Delete a news entry.
  • 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 news to edit

Preview

Code (PHP)

/**
 * Delete a news entry.
 *
 * @param  AUTO_LINK $id The ID of the news to edit
 */

function delete_news(int $id)