????
| Current Path : /home2/morganrand/www/wp-content/plugins/wordpress-seo/src/config/ |
| Current File : /home2/morganrand/www/wp-content/plugins/wordpress-seo/src/config/admin.php |
<?php
/**
* Loads the integrations needed by the WordPress Admin.
*
* @package Yoast\YoastSEO\Config
*/
namespace Yoast\WP\Free\Config;
use Yoast\WP\Free\WordPress\Integration;
use Yoast\WP\Free\WordPress\Integration_Group;
use Yoast\WP\Free\Watchers;
/**
* Load Admin integrations.
*/
class Admin implements Integration {
/**
* Initializes the integration.
*
* @codeCoverageIgnore
*
* This is the place to register hooks and filters.
*
* @return void
*/
public function register_hooks() {
$integration_group = new Integration_Group(
array(
new Watchers\Indexable_Post_Watcher(),
new Watchers\Indexable_Term_Watcher(),
new Watchers\Indexable_Author_Watcher(),
new Watchers\Primary_Term_Watcher(),
)
);
$integration_group->register_hooks();
}
}