wpseo_posts_for_related_keywords

wpseo_posts_for_related_keywords

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.22.3

apply_filters('wpseo_posts_for_related_keywords') is found 1 times:

  • /admin/formatter/class-post-metabox-formatter.php line 170
    		 *
    		 * @param array $usage   The array of posts' ids that share their focus keywords with the post.
    		 * @param int   $post_id The id of the post we're finding the usage of related keywords for.
    		 */
    		return apply_filters( 'wpseo_posts_for_related_keywords', $usage, $this->post->ID );
    	}
    
    	/**
    	 * Retrieves the post types for the given post IDs.
    	 *
    	 * @param array $post_ids_per_keyword An associative array with keywords as keys and an array of post ids where those keywords are used.