Function __global->actualise_post_trackback

Definitions

sources/feedback.php

  • Add trackbacks to the specified resource.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$allow_trackbacks boolean No No required parameter N/A N/A Whether this resource allows trackback (if not, this function does nothing - but it's nice to move out this common logic into the shared function)
$feedback_type ID_TEXT No No required parameter N/A N/A The type (downloads, etc) that this trackback is for
$content_id ID_TEXT No No required parameter N/A N/A The ID of the type that this trackback is for

Returns

  • Whether trackbacks are on
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Add trackbacks to the specified resource.
 *
 * @param  boolean $allow_trackbacks Whether this resource allows trackback (if not, this function does nothing - but it's nice to move out this common logic into the shared function)
 * @param  ID_TEXT $feedback_type The type (downloads, etc) that this trackback is for
 * @param  ID_TEXT $content_id The ID of the type that this trackback is for
 * @return boolean Whether trackbacks are on
 */

function actualise_post_trackback(bool $allow_trackbacks, string $feedback_type, string $content_id) : bool