term = $term; } /** * Retrieves a template. * * @param string $template_option_name The name of the option in which the template you want to get is saved. * * @return string */ protected function get_template( string $template_option_name ): string { $needed_option = $template_option_name . '-tax-' . $this->term->taxonomy; return WPSEO_Options::get( $needed_option, '' ); } /** * Method to return the compiled SEO data. * * @return Seo_Plugin_Data_Interface The specific seo data. */ abstract public function get_data(): Seo_Plugin_Data_Interface; }