WPDev.one
Core Function
View Source on Trac ↗

_validate_cache_id()

_validate_cache_id( mixed $object_id )

Checks whether the given cache ID is either an integer or an integer-like string.

Parameters 1 required

Name / Type Description
$object_id
mixed

The cache ID to validate.

Required

Return Value

(bool)
Whether the given $object_id is a valid cache ID.

Function Information

Since Version
6.3.0
Source File
wp-includes/functions.php
Advertisement