403Webshell
Server IP : 194.30.32.123  /  Your IP : 216.73.216.89
Web Server : Apache
System : Linux 4f6650a08421 5.10.0-44-amd64 #1 SMP Debian 5.10.257-1 (2026-05-27) x86_64
User : ftpbegirale ( 1001)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /expert/htwebs/www.begirale.com/public/wp-content/themes/magazine-pro/lib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /expert/htwebs/www.begirale.com/public/wp-content/themes/magazine-pro/lib//helper-functions.php
<?php
/**
 * Magazine Pro.
 *
 * This file adds theme helper functions for use elsewhere in Magazine Pro.
 *
 * @package Magazine
 * @author  StudioPress
 * @license GPL-2.0+
 * @link    http://my.studiopress.com/themes/magazine/
 */

/**
 * Function to return the default accent color.
 *
 * @since 3.2.0
 *
 * @return string Hex value of the accent color.
 */
function magazine_get_default_accent_color() {
	return '#e8554e';
}

/**
 * Function to return the default accent color.
 *
 * @since 3.2.0
 *
 * @return string Hex value of the accent color.
 */
function magazine_get_default_link_color() {
	return '#e8554e';
}

/**
 * Generate a hex value that has appropriate contrast
 * against the inputted value.
 *
 * @since 3.2.0
 *
 * @return string Hex color code for contrasting color.
 */
function magazine_color_contrast( $color ) {

	$hexcolor = str_replace( '#', '', $color );
	$red      = hexdec( substr( $hexcolor, 0, 2 ) );
	$green    = hexdec( substr( $hexcolor, 2, 2 ) );
	$blue     = hexdec( substr( $hexcolor, 4, 2 ) );

	$luminosity = ( ( $red * 0.2126 ) + ( $green * 0.7152 ) + ( $blue * 0.0722 ) );

	return ( $luminosity > 128 ) ? '#222222' : '#ffffff';

}

Youez - 2016 - github.com/yon3zu
LinuXploit