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-16 23:00:51
Editing: redirect-formats.php
Cancel
Save Changes
<?php /** * WPSEO Premium plugin file. * * @package WPSEO\Premium\Classes */ /** * Class representing a list of redirect formats. */ class WPSEO_Redirect_Formats { const PLAIN = 'plain'; const REGEX = 'regex'; /** * Returns the redirect formats. * * @return string[] Array with the redirect formats. */ public function get() { return [ self::PLAIN => __( 'Redirects', 'wordpress-seo-premium' ), self::REGEX => __( 'Regex Redirects', 'wordpress-seo-premium' ), ]; } /** * Checks whether the given value is a valid redirect format. * * @param string $value Value to check. * * @return bool True if a redirect format, false otherwise. */ public function has( $value ) { $formats = $this->get(); return isset( $formats[ $value ] ); } }
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