Function __global->is_ecommerce_catalogue_entry

Definitions

sources/catalogues.php

  • Check selected entry is an ecommerce catalogue entry.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$entry_id AUTO_LINK No No required parameter N/A N/A Entry ID

Returns

  • Status of entry type check
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Check selected entry is an ecommerce catalogue entry.
 *
 * @param  AUTO_LINK $entry_id Entry ID
 * @return boolean Status of entry type check
 */

function is_ecommerce_catalogue_entry(int $entry_id) : bool