Function __global->cns_delete_forum_grouping

Definitions

sources/cns_forums_action2.php

  • Delete a forum grouping.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$forum_grouping_id AUTO_LINK No No required parameter N/A N/A The ID of the forum grouping we are editing
$target_forum_grouping_id ?AUTO_LINK No No Null N/A N/A The ID of the forum grouping that we will move all the contained forum to (null: the first one)

Preview

Code (PHP)

/**
 * Delete a forum grouping.
 *
 * @param  AUTO_LINK $forum_grouping_id The ID of the forum grouping we are editing
 * @param  ?AUTO_LINK $target_forum_grouping_id The ID of the forum grouping that we will move all the contained forum to (null: the first one)
 */

function cns_delete_forum_grouping(int $forum_grouping_id, ?int $target_forum_grouping_id = null)