HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux sa-dev.otherchirps.net 5.15.0-139-generic #149-Ubuntu SMP Fri Apr 11 22:06:13 UTC 2025 x86_64
User: www-data (33)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/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,
	] );
}