$store_url
$store_url : string
Store URL
Class UM_Functions
$store_url : string
Store URL
$request_timeout : int
WP remote Post timeout
is_rate_limited(string $context, int|null $requests_num = 10) : bool
Check if the user rate limit has been reached based on the provided context
| string | $context | The context for which the rate limit check is being performed |
| int|null | $requests_num | Number requests per minute. Default 10. |
True if the rate limit has been reached, false otherwise
array_insert_before(array $array, string $key, array $insert_array) : array
| array | $array | |
| string | $key | |
| array | $insert_array |
| None found |
| since | 2.1.0 |
|---|
str_replace_first(string $search, string $replace, string $subject) : string
Replace the first match in the string, alternative for the `str_replace()` function
| string | $search | |
| string | $replace | |
| string | $subject |
| None found |
get_allowed_html(string $context = '') : array
| string | $context |
| None found |