Collections functions
General functions
Render functions
Theme permission functions
Resource functions

ip_matches()

Description

Does the provided $ip match the string $ip_restrict? Used for restricting user access by IP address.

Parameters

ColumnTypeDefaultDescription
$ip string
$ip_restrict string

Return

boolean|integer

This article was last updated 29th January 2023 22:35 Europe/London time based on the source file dated 19th January 2023 09:30 Europe/London time.