File ManagerCurrent Directory: wp-content/plugins/wordpress-seo/src/editors/framework/seo/termsLinux appserver-0d5e4f1e-php-cc8da225320a42ba9b7d66cba40b1f03 6.6.123+ #1 SMP PREEMPT_DYNAMIC Wed Mar 11 09:04:28 UTC 2026 x86_64Edit File: abstract-term-seo-data-provider.php <?php //phpcs:disable Yoast.NamingConventions.NamespaceName.MaxExceeded namespace Yoast\WP\SEO\Editors\Framework\Seo\Terms; use WP_Term; use WPSEO_Options; use Yoast\WP\SEO\Editors\Domain\Seo\Seo_Plugin_Data_Interface; /** * Abstract class for all term data providers. */ abstract class Abstract_Term_Seo_Data_Provider { /** * The term the metabox formatter is for. * * @var WP_Term */ protected $term; /** * The term. * * @param WP_Term $term The term. * * @return void */ public function set_term( WP_Term $term ): void { $this->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; } Upload File Directory Listing NameTypeSizeActions.. (Parent Directory)Dirabstract-term-seo-data-provider.phpFile1.12 KB Rename | Delete | Editdescription-data-provider.phpFile1.18 KB Rename | Delete | Editkeyphrase-data-provider.phpFile1.20 KB Rename | Delete | Editsocial-data-provider.phpFile3.58 KB Rename | Delete | Edittitle-data-provider.phpFile1.30 KB Rename | Delete | Edit