Clanbite Since 1.6.3

clanbite_players_get_display_cover_zoom( int $player_id = 0, bool $suppress_filters = false ): float

Returns how far the player zoomed into their cover image (1 shows the whole cover, up to 4).

The zoom is applied around the focal point (clanbite_players_get_display_cover_position_x() and _y).

Parameters

$player_id (int) Optional

The Player/User unique identifier (0 for the current user).

Default: 0

$suppress_filters (bool) Optional

Disallows filtering of the value.

Default: false

Returns

float Zoom between 1 and 4.

Defined in inc/extensions/players/functions.php

Changelog

VersionDescription
1.6.3Introduced.