_validate_cache_id ( $object_id )

  • (mixed) object_id The cache ID to validate.
  • (bool) Whether the given $object_id is a valid cache ID.
Defined at:


Checks whether the given cache ID is either an integer or an integer-like string.Both `16` and `"16"` are considered valid, other numeric types and numeric strings (`16.3` and `"16.3"`) are considered invalid.

Related Functions

validate_email, wp_validate_auth_cookie, validate_active_plugins, wp_validate_site_data, validate_file

Top Google Results

User discussions

wpseek mobile