Function __global->cns_decache_cms_blocks

Definitions

sources/cns_posts_action.php

  • Decache cached Conversr elements depending on a certain forum, and optionally a certain member.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$updated_forum_id AUTO_LINK No No required parameter N/A N/A The ID of the forum
$forum_name ?string No No Null N/A N/A The name of the forum (null: find it from the DB)
$member_id ?MEMBER No No Null N/A N/A The member (null: do no member decaching)

Preview

Code (PHP)

/**
 * Decache cached Conversr elements depending on a certain forum, and optionally a certain member.
 *
 * @param  AUTO_LINK $updated_forum_id The ID of the forum
 * @param  ?string $forum_name The name of the forum (null: find it from the DB)
 * @param  ?MEMBER $member_id The member (null: do no member decaching)
 */

function cns_decache_cms_blocks(int $updated_forum_id, ?string $forum_name = null, ?int $member_id = null)