uawdijnntqw1x1x1
IP : 216.73.216.109
Hostname : premium160.web-hosting.com
Kernel : Linux premium160.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
batcwwjx
/
www
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
integrations
/
abstract-exclude-post-type.php
/
/
<?php namespace Yoast\WP\SEO\Integrations; /** * Abstract class for excluding certain post types from being indexed. */ abstract class Abstract_Exclude_Post_Type implements Integration_Interface { /** * Initializes the integration. * * @return void */ public function register_hooks() { \add_filter( 'wpseo_indexable_excluded_post_types', [ $this, 'exclude_post_types' ] ); } /** * Exclude the post type from the indexable table. * * @param array $excluded_post_types The excluded post types. * * @return array The excluded post types, including the specific post type. */ public function exclude_post_types( $excluded_post_types ) { return \array_merge( $excluded_post_types, $this->get_post_type() ); } /** * This integration is only active when the child class's conditionals are met. * * @return string[] The conditionals. */ public static function get_conditionals() { return []; } /** * Returns the names of the post types to be excluded. * To be used in the wpseo_indexable_excluded_post_types filter. * * @return array The names of the post types. */ abstract public function get_post_type(); }
/home/batcwwjx/www/wp-content/plugins/wordpress-seo/src/integrations/abstract-exclude-post-type.php