wpseo_posts_for_related_keywords, $usage, $this->post->ID

wpseo_posts_for_related_keywords, $usage, $this->post->ID

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.28.1

apply_filters('wpseo_posts_for_related_keywords, $usage, $this->post->ID') is found 1 times:

  • /src/editors/framework/seo/posts/keyphrase-data-provider.php line 49
    		 *
    		 * @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.