Function Hook_profiles_tabs_posts->is_active

Definitions

sources/hooks/systems/profiles_tabs/posts.php

  • Find whether this hook is active.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$member_id_of MEMBER No No required parameter N/A N/A The ID of the member who is being viewed
$member_id_viewing MEMBER No No required parameter N/A N/A The ID of the member who is doing the viewing

Returns

  • Whether this hook is active
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find whether this hook is active.
 *
 * @param  MEMBER $member_id_of The ID of the member who is being viewed
 * @param  MEMBER $member_id_viewing The ID of the member who is doing the viewing
 * @return boolean Whether this hook is active
 */

public function is_active(int $member_id_of, int $member_id_viewing) : bool