[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/SimplePie/src/Cache/ -> CallableNameFilter.php (summary)

Creating a cache filename with callables

File Size: 53 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  __construct()
  filter()

Functions
Functions that are not part of a class:

__construct(callable $callable)   X-Ref

param: callable(string): string $callable

filter(string $name)   X-Ref
Method to create cache filename with.

The returning name MUST follow the rules for keys in PSR-16.

return: string the new cache name
param: string $name The name for the cache will be most likely an url with query string



Generated : Wed Sep 17 08:20:04 2025 Cross-referenced by PHPXref