SILENT KILLERPanel

Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > jetpack > modules > > theme-tools


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/modules//theme-tools

NameTypeSizeLast ModifiedActions
compat Directory - -
content-options Directory - -
js Directory - -
responsive-videos Directory - -
site-logo Directory - -
social-menu Directory - -
content-options.php File 8456 bytes September 16 2024 19:58:12.
featured-content.php File 14825 bytes May 26 2025 19:03:40.
responsive-videos.php File 6257 bytes July 08 2024 21:10:54.
site-breadcrumbs.php File 4359 bytes August 26 2024 19:41:30.
site-logo.php File 2791 bytes May 12 2025 23:04:36.
social-links.php File 4795 bytes August 20 2024 12:34:10.
social-menu.php File 3804 bytes February 10 2025 18:44:16.

Reading File: /home/codekrsu//ameliagraphics.com/wp-content/plugins/jetpack/modules//theme-tools/social-links.php

<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
 * Theme Tools: Social Links.
 *
 * This feature will only be activated for themes that declare their support.
 * This can be done by adding code similar to the following during the
 * 'after_setup_theme' action:
 *
 * add_theme_support( 'social-links', array(
 *     'facebook', 'twitter', 'linkedin', 'tumblr',
 * ) );
 *
 * @package automattic/jetpack
 */

use Automattic\Jetpack\Status\Host;

// phpcs:disable Universal.Files.SeparateFunctionsFromOO.Mixed -- TODO: Move classes to appropriately-named class files.

if ( ! function_exists( 'jetpack_theme_supports_social_links' ) ) {
	/**
	 * Init Social_Links if the theme declares support.
	 */
	function jetpack_theme_supports_social_links() {
			// @phan-suppress-next-line PhanNoopNew
			new \Automattic\Jetpack\Classic_Theme_Helper\Social_Links();
	}
	if ( ! ( new Host() )->is_wpcom_platform() ) {
		add_action( 'init', 'jetpack_theme_supports_social_links', 30 );
	}
}

if ( ! class_exists( 'Social_Links' ) ) {

	/**
	 * Social_Links main class.
	 *
	 * @deprecated 13.8 Moved to Classic Theme Helper package.
	 */
	class Social_Links {

		/**
		 * Constructor.
		 *
		 * @deprecated 13.8 Moved to Classic Theme Helper package.
		 */
		public function __construct() {
			_deprecated_function( __METHOD__, '13.8', 'Automattic\\Jetpack\\Classic_Theme_Helper\\Social_Links->__construct' );
			// @phan-suppress-next-line PhanNoopNew
			new \Automattic\Jetpack\Classic_Theme_Helper\Social_Links();
		}

		/**
		 * Init the admin setup.
		 *
		 * @deprecated 13.8 Moved to Classic Theme Helper package.
		 */
		public function admin_setup() {
			_deprecated_function( __METHOD__, '13.8', 'Automattic\\Jetpack\\Classic_Theme_Helper\\Social_Links->admin_setup' );
			$social_links_instance = new \Automattic\Jetpack\Classic_Theme_Helper\Social_Links();
			$social_links_instance->admin_setup();
		}

		/**
		 * Compares the currently saved links with the connected services and removes
		 * links from services that are no longer connected.
		 *
		 * @deprecated 13.8 Moved to Classic Theme Helper package.
		 * @return void
		 */
		public function check_links() {
			_deprecated_function( __METHOD__, '13.8', 'Automattic\\Jetpack\\Classic_Theme_Helper\\Social_Links->check_links' );
			$social_links_instance = new \Automattic\Jetpack\Classic_Theme_Helper\Social_Links();
			$social_links_instance->check_links();
		}

		/**
		 * Add social link dropdown to the Customizer.
		 *
		 * @deprecated 13.8 Moved to Classic Theme Helper package.
		 * @param WP_Customize_Manager $wp_customize Theme Customizer object.
		 */
		public function customize_register( $wp_customize ) {
			_deprecated_function( __METHOD__, '13.8', 'Automattic\\Jetpack\\Classic_Theme_Helper\\Social_Links->customize_register' );
			$social_links_instance = new \Automattic\Jetpack\Classic_Theme_Helper\Social_Links();
			$social_links_instance->customize_register( $wp_customize );
		}

		/**
		 * Sanitizes social links.
		 *
		 * @deprecated 13.8 Moved to Classic Theme Helper package.
		 * @param array $option The incoming values to be sanitized.
		 * @return array
		 */
		public function sanitize_link( $option ) {
			_deprecated_function( __METHOD__, '13.8', 'Automattic\\Jetpack\\Classic_Theme_Helper\\Social_Links->sanitize_link' );
			return ( new \Automattic\Jetpack\Classic_Theme_Helper\Social_Links() )->sanitize_link( $option );
		}

		/**
		 * Returns whether there are any social links set.
		 *
		 * @deprecated 13.8 Moved to Classic Theme Helper package.
		 * @return bool
		 */
		public function has_social_links() {
			_deprecated_function( __METHOD__, '13.8', 'Automattic\\Jetpack\\Classic_Theme_Helper\\Social_Links->has_social_links' );
			return ( new \Automattic\Jetpack\Classic_Theme_Helper\Social_Links() )->has_social_links();     }

		/**
		 * Return available social links.
		 *
		 * @return array
		 */
		public function get_social_links() {
			_deprecated_function( __METHOD__, '13.8', 'Automattic\\Jetpack\\Classic_Theme_Helper\\Social_Links->get_social_links' );
			return ( new \Automattic\Jetpack\Classic_Theme_Helper\Social_Links() )->get_social_links();
		}

		/**
		 * Short-circuits get_option and get_theme_mod calls.
		 *
		 * @deprecated 13.8 Moved to Classic Theme Helper package.
		 * @param string $link The incoming value to be replaced.
		 * @return string $link The social link that we've got.
		 */
		public function get_social_link_filter( $link ) {
			_deprecated_function( __METHOD__, '13.8', 'Automattic\\Jetpack\\Classic_Theme_Helper\\Social_Links->get_social_link_filter' );
			return ( new \Automattic\Jetpack\Classic_Theme_Helper\Social_Links() )->get_social_link_filter( $link );
		}
	}

} // - end if ( ! class_exists( 'Social_Links' )

SILENT KILLER Tool