_wp_filter_build_unique_id
- %1$s is private and should not be used in themes or plugins directly.
_wp_filter_build_unique_id ( $hook_name, $callback, $priority )
Access:Parameters:- (string) hook_name Unused. The name of the filter to build ID for.
- (callable|string|array) callback The callback to generate ID for. The callback may or may not exist.
- (int) priority Unused. The order in which the functions associated with a particular action are executed.
Links:Returns:- (string) Unique function ID for usage as array key.
Defined at:Change Log: - Introduced in WordPress: 2.2.3
- Deprecated in WordPress: —
Description
Builds a unique string ID for a hook callback function.Functions and static method callbacks are just returned as strings and
shouldn't have any speed penalty.