SILENT KILLERPanel

Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > jetpack > 3rd-party


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//ameliagraphics.com/wp-content/plugins/jetpack/3rd-party

NameTypeSizeLast ModifiedActions
debug-bar Directory - -
3rd-party.php File 2921 bytes November 25 2024 21:49:02.
amp.php File 745 bytes April 26 2023 01:22:16.
atomic.php File 1023 bytes September 28 2023 23:20:16.
bbpress.php File 2083 bytes May 15 2023 20:47:16.
beaverbuilder.php File 477 bytes September 30 2024 21:15:14.
bitly.php File 982 bytes May 08 2023 20:57:46.
buddypress.php File 503 bytes February 23 2021 21:08:42.
class-domain-mapping.php File 4220 bytes April 29 2024 23:12:20.
class-jetpack-bbpress-rest-api.php File 4496 bytes May 06 2024 23:42:24.
class.jetpack-amp-support.php File 16354 bytes February 04 2025 00:54:10.
creative-mail.php File 3341 bytes June 10 2025 00:40:16.
debug-bar.php File 733 bytes February 23 2021 21:08:42.
jetpack-backup.php File 2818 bytes January 20 2025 22:16:12.
jetpack-boost.php File 2869 bytes January 20 2025 22:16:12.
qtranslate-x.php File 634 bytes November 25 2023 02:41:46.
vaultpress.php File 2166 bytes April 29 2024 23:12:20.
web-stories.php File 979 bytes January 20 2025 22:16:12.
woocommerce-services.php File 3533 bytes January 20 2025 22:16:12.
woocommerce.php File 3865 bytes February 04 2025 00:54:10.
wpcom-reader.php File 1785 bytes March 25 2024 22:39:50.
wpml.php File 1633 bytes February 23 2021 21:08:42.

Reading File: /home/codekrsu//ameliagraphics.com/wp-content/plugins/jetpack/3rd-party/wpml.php

<?php
/**
 * Only load these if WPML plugin is installed and active.
 *
 * @package automattic/jetpack
 */

/**
 * Load routines only if WPML is loaded.
 *
 * @since 4.4.0
 */
function wpml_jetpack_init() {
	add_action( 'jetpack_widget_get_top_posts', 'wpml_jetpack_widget_get_top_posts', 10, 3 );
	add_filter( 'grunion_contact_form_field_html', 'grunion_contact_form_field_html_filter', 10, 3 );
}
add_action( 'wpml_loaded', 'wpml_jetpack_init' );

/**
 * Filter the Top Posts and Pages by language.
 *
 * @param array $posts    Array of the most popular posts.
 *
 * @return array
 */
function wpml_jetpack_widget_get_top_posts( $posts ) {
	global $sitepress;

	foreach ( $posts as $k => $post ) {
		$lang_information = wpml_get_language_information( $post['post_id'] );
		if ( ! is_wp_error( $lang_information ) ) {
			$post_language = substr( $lang_information['locale'], 0, 2 );
			if ( $post_language !== $sitepress->get_current_language() ) {
				unset( $posts[ $k ] );
			}
		}
	}

	return $posts;
}

/**
 * Filter the HTML of the Contact Form and output the one requested by language.
 *
 * @param string $r           Contact Form HTML output.
 * @param string $field_label Field label.
 *
 * @return string
 */
function grunion_contact_form_field_html_filter( $r, $field_label ) {
	global $sitepress;

	if ( function_exists( 'icl_translate' ) ) {
		if ( $sitepress->get_current_language() !== $sitepress->get_default_language() ) {
			$label_translation = icl_translate( 'jetpack ', $field_label . '_label', $field_label );
			$r                 = str_replace( $field_label, $label_translation, $r );
		}
	}

	return $r;
}

SILENT KILLER Tool