Script Loader: Clarify documentation of wp_resource_hints
hook.
Specify that the `wp_resource_hints` hook is firing for a single relation type. Props: dimadin for initial patch. See #37458. git-svn-id: https://develop.svn.wordpress.org/trunk@38161 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e8c58c47db
commit
d1aacf419e
@ -2816,7 +2816,7 @@ function wp_resource_hints() {
|
||||
|
||||
foreach ( $hints as $relation_type => $urls ) {
|
||||
/**
|
||||
* Filters domains and URLs for resource hints.
|
||||
* Filters domains and URLs for resource hints of relation type.
|
||||
*
|
||||
* @since 4.6.0
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user