HEX
Server: Apache/2.4.25
System: Linux ion14 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64
User: (10087)
PHP: 7.4.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,system, exec, shell_exec, passthru, popen, proc_open
Upload Files
File: /home/www/web115/wordpress/wp-content/themes/osmosis/includes/grve-dynamic-css-loader.php
<?php
/**
 *  Add Dynamic css to header
 *  @version	1.0
 *  @author		Greatives Team
 *  @URI		http://greatives.eu
 */


add_action('wp_head', 'grve_load_dynamic_css');

if ( !function_exists( 'grve_load_dynamic_css' ) ) {

	function grve_load_dynamic_css() {
		include_once get_template_directory() . '/includes/grve-dynamic-typography-css.php';
		include_once get_template_directory() . '/includes/grve-dynamic-css.php';
		if ( grve_events_calendar_enabled() ) {
			include_once get_template_directory() . '/includes/grve-dynamic-event-css.php';
		}
		if ( grve_bbpress_enabled() ) {
			include_once get_template_directory() . '/includes/grve-dynamic-bbpress-css.php';
		}
		$custom_css_code = grve_option( 'css_code' );
		if ( !empty( $custom_css_code ) ) {
			echo grve_get_css_output( $custom_css_code );
		}
	}
}

 /**
 * Get color array used in theme from theme options and predefined colors
 */
 
if ( !function_exists( 'osmosis_grve_get_color_array' ) ) { 
	function osmosis_grve_get_color_array() {
		return array(
			'primary-1' => grve_option( 'body_primary_1_color' ),
			'primary-2' => grve_option( 'body_primary_2_color' ),
			'primary-3' => grve_option( 'body_primary_3_color' ),
			'primary-4' => grve_option( 'body_primary_4_color' ),
			'primary-5' => grve_option( 'body_primary_5_color' ),
			'dark' => '#000000',
			'light' => '#ffffff',
		);
	}
}

?>