ProShell v2.0
Dashboard
Server Info
Server: 158.106.128.192
PHP: 8.2.33
home
planet5
public_html
bansibaba.com
wp-includes
2026-09-12 08:26:58
Editing: cli-redirect-has-command.php
Cancel
Save Changes
<?php /** * WPSEO plugin file. * * @package WPSEO\CLI */ /** * Implementation of the 'redirect has' WP-CLI command. */ final class WPSEO_CLI_Redirect_Has_Command extends WPSEO_CLI_Redirect_Base_Command { /** * Checks whether a given Yoast SEO redirect exists. * * ## OPTIONS * * <origin> * : Origin of the redirect. * * @param array $args Array of positional arguments. * @param array $assoc_args Associative array of associative arguments. * * @return void */ public function __invoke( $args, $assoc_args ) { list( $origin ) = $args; exit( $this->has_redirect( $origin ) ? 0 : 1 ); } }
Upload Files
Cancel
Upload
Create New
Cancel
Create
Change Permissions
Cancel
Save
Change Date
Cancel
Save
Rename Item
Cancel
Save
Confirm Delete
Are you sure you want to delete the selected items?
Cancel
Delete