📁 File Manager Pro
v10.0.3 | PHP: 7.4.33
Server: LiteSpeed
2026-06-26 11:35:50
📂
/ (Root)
/
home
/
supecsoq
/
public_html
/
domains
/
migalexpark.com
/
wp-content
/
plugins
/
wordpress-seo-premium
/
classes
/
redirect
📍 /home/supecsoq/public_html/domains/migalexpark.com/wp-content/plugins/wordpress-seo-premium/classes/redirect
🔄 Refresh
✏️
Editing: redirect-formats.php
Writable
<?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 ] ); } }
💾 Save Changes
❌ Cancel