Clanbite Since 1.6.3
clanbite_players_get_display_cover_zoom( int $player_id = 0, bool $suppress_filters = false ): floatReturns 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) OptionalThe Player/User unique identifier (0 for the current user).
Default:
0$suppress_filters(bool) OptionalDisallows filtering of the value.
Default:
false
Returns
float Zoom between 1 and 4.
Defined in inc/extensions/players/functions.php
Changelog
| Version | Description |
|---|---|
| 1.6.3 | Introduced. |