PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
integrations
/
admin
<?php namespace Yoast\WP\SEO\Integrations\Admin; use Yoast\WP\SEO\Conditionals\Admin_Conditional; use Yoast\WP\SEO\Helpers\Redirect_Helper; use Yoast\WP\SEO\Integrations\Integration_Interface; /** * Redirections_Tools_Page class */ class Redirections_Tools_Page implements Integration_Interface { /** * The redirect helper. * * @var Redirect_Helper */ private $redirect_helper; /** * Returns the conditionals based in which this loadable should be active. * * @return array<string> */ public static function get_conditionals() { return [ Admin_Conditional::class, ]; } /** * Constructor. * * @param Redirect_Helper $redirect_helper The redirect helper. */ public function __construct( Redirect_Helper $redirect_helper ) { $this->redirect_helper = $redirect_helper; } /** * Registers all hooks to WordPress. * * @return void */ public function register_hooks() { \add_action( 'admin_menu', [ $this, 'register_admin_menu' ] ); } /** * Registers the admin menu. * * @return void */ public function register_admin_menu() { $page_title = \sprintf( /* translators: %s: expands to Yoast */ \esc_html__( '%s Redirects', 'wordpress-seo' ), 'Yoast' ); \add_management_page( $page_title, $page_title, 'edit_others_posts', 'wpseo_redirects_tools', [ $this, 'show_redirects_page' ] ); } /** * The redirects tools page render function, noop. * * @return void */ public function show_redirects_page() { // Do nothing and let the redirect happen from the redirect integration. } }
[-] indexables-exclude-taxonomy-integration.php
[edit]
[-] installation-success-integration.php
[edit]
[-] fix-news-dependencies-integration.php
[edit]
[-] admin-columns-cache-integration.php
[edit]
[-] health-check-integration.php
[edit]
[-] helpscout-beacon.php
[edit]
[-] redirects-page-integration.php
[edit]
[-] workouts-integration.php
[edit]
[-] redirect-integration.php
[edit]
[+]
addon-installation
[-] indexing-tool-integration.php
[edit]
[-] migration-error-integration.php
[edit]
[-] integrations-page.php
[edit]
[-] background-indexing-integration.php
[edit]
[-] link-count-columns-integration.php
[edit]
[-] import-integration.php
[edit]
[-] brand-insights-page.php
[edit]
[-] first-time-configuration-integration.php
[edit]
[-] menu-badge-integration.php
[edit]
[-] deactivated-premium-integration.php
[edit]
[-] old-configuration-integration.php
[edit]
[-] check-required-version.php
[edit]
[-] activation-cleanup-integration.php
[edit]
[-] first-time-configuration-notice-integration.php
[edit]
[-] cron-integration.php
[edit]
[+]
..
[-] redirections-tools-page.php
[edit]
[-] indexing-notification-integration.php
[edit]
[-] crawl-settings-integration.php
[edit]