PATH:
home
/
letacommog
/
lenazen
/
wp-content
/
plugins
/
wordpress-seo-premium
/
premium
/
classes
/
redirect
<?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 array Array with the redirect formats. */ public function get() { return array( 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 ] ); } }
[+]
..
[-] redirect-url-formatter.php
[edit]
[-] redirect-ajax.php
[edit]
[-] redirect-page.php
[edit]
[-] redirect-option.php
[edit]
[-] executable-redirect.php
[edit]
[-] redirect-types.php
[edit]
[-] redirect-util.php
[edit]
[-] redirect-import-exception.php
[edit]
[+]
validation
[+]
loaders
[-] redirect-upgrade.php
[edit]
[-] redirect-table.php
[edit]
[-] redirect-manager.php
[edit]
[+]
exporters
[-] redirect-htaccess-util.php
[edit]
[-] redirect-file-util.php
[edit]
[-] redirect.php
[edit]
[-] redirect-formatter.php
[edit]
[+]
presenters
[+]
views
[-] redirect-handler.php
[edit]
[-] redirect-importer.php
[edit]
[-] redirect-validator.php
[edit]
[-] redirect-sitemap-filter.php
[edit]
[-] redirect-formats.php
[edit]