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 25th May 2022 21:05 Europe/London time based on the source file dated 5th May 2022 10:10 Europe/London time.