wpseo_posts_for_related_keywords
wpseo_posts_for_related_keywords
Appears in: wordpress-seo.19.10, wordpress-seo.19.11, wordpress-seo.19.13, wordpress-seo.19.6.1, wordpress-seo.19.7.1, wordpress-seo.19.7.2, wordpress-seo.19.8, wordpress-seo.19.9, wordpress-seo.20.1, wordpress-seo.20.10, wordpress-seo.20.11, wordpress-seo.20.12, wordpress-seo.20.2.1, wordpress-seo.20.3, wordpress-seo.20.5, wordpress-seo.20.6, wordpress-seo.20.7, wordpress-seo.20.8, wordpress-seo.21.0, wordpress-seo.21.1, wordpress-seo.21.2, wordpress-seo.21.4, wordpress-seo.21.5, wordpress-seo.21.7, wordpress-seo.21.8, wordpress-seo.21.8.1, wordpress-seo.21.9.1, wordpress-seo.22.0, wordpress-seo.22.1, wordpress-seo.22.2, wordpress-seo.22.3, wordpress-seo.22.6, wordpress-seo.22.8, wordpress-seo.22.9, wordpress-seo.23.0, wordpress-seo.23.2, wordpress-seo.23.3, wordpress-seo.23.4, wordpress-seo.23.6, wordpress-seo.23.8, wordpress-seo.23.9
Hook Type: filter
Displaying hooks found in version: wordpress-seo.23.9apply_filters('wpseo_posts_for_related_keywords') is found 1 times:
- /src/editors/framework/seo/posts/keyphrase-data-provider.php line 48
* * @param array<string> $usage The array of posts' ids that share their focus Keyphrase with the post. * @param int $post_id The id of the post we're finding the usage of related Keyphrase for. */ return \apply_filters( 'wpseo_posts_for_related_keywords', $usage, $this->post->ID ); } /** * Retrieves the post types for the given post IDs. * * @param array<string|array<string>> $post_ids_per_keyphrase An associative array with keyphrase as keys and an array of post ids where those keyphrases are used.