*/ public function get_focus_keyphrase_usage(): array { $focuskp = WPSEO_Taxonomy_Meta::get_term_meta( $this->term, $this->term->taxonomy, 'focuskw' ); return WPSEO_Taxonomy_Meta::get_keyword_usage( $focuskp, $this->term->term_id, $this->term->taxonomy ); } /** * Method to return the keyphrase domain object with SEO data. * * @return Seo_Plugin_Data_Interface The specific seo data. */ public function get_data(): Seo_Plugin_Data_Interface { $keyphrase_usage = $this->get_focus_keyphrase_usage(); return new Keyphrase( $keyphrase_usage, [] ); } }