_wp_filter_build_unique_id


_wp_filter_build_unique_id ( $hook_name, $callback, $priority )

Access:
  • private
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:
  • 5: .

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.

Related Functions

wp_unique_id, wp_filter_object_list, wp_filter_wp_template_unique_post_slug, wp_filter_oembed_result, _http_build_query

Top Google Results

User discussions

wpseek mobile