Function Hook_profiles_tabs_points->render_tab

Definitions

sources/hooks/systems/profiles_tabs/points.php

  • Render function for profile tab hooks.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$member_id_of MEMBER required parameter N/A N/A The ID of the member who is being viewed
$member_id_viewing MEMBER required parameter N/A N/A The ID of the member who is doing the viewing
$leave_to_ajax_if_possible boolean False N/A N/A Whether to leave the tab contents null, if this hook supports it, so that AJAX can load it later

Return

  • A tuple: The tab title, the tab contents, the suggested tab order, the icon
  • Type: array
  • Set: N/A
  • Range: N/A