HEX
Server: Apache
System: Linux web2213.uni5.net 5.4.282-1.el8.elrepo.x86_64 #1 SMP Mon Aug 19 18:33:22 EDT 2024 x86_64
User: clinicamaciel (596848)
PHP: 7.3.33
Disabled: apache_child_terminate,c99_buff_prepare,c99_sess_put,dl,eval,exec,leak,link,myshellexec,openlog,passthru,pclose,pcntl_exec,php_check_syntax,php_strip_whitespace,popen,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,symlink,system,socket_listen,socket_create_listen,putenv
Upload Files
File: /home/clinicamaciel/www/wp-content/plugins/trx_addons/cv/includes/cv.about.php
<?php
/**
 * CV Card: About Me
 *
 * @package WordPress
 * @subpackage ThemeREX Addons
 * @since v1.1
 */

// Don't load directly
if ( ! defined( 'TRX_ADDONS_VERSION' ) ) {
	die( '-1' );
}

// Return true if current screen is a about page
if ( !function_exists( 'trx_addons_cv_is_about_page' ) ) {
	add_filter('trx_addons_filter_is_cv_page', 'trx_addons_cv_is_about_page');
	function trx_addons_cv_is_about_page($cv = false) {
		global $post;
		return $cv || (is_page() && $post->ID > 0 && $post->ID == trx_addons_get_option('cv_about_page'));
	}
}


// -----------------------------------------------------------------
// -- Load scripts and styles
// -----------------------------------------------------------------

// Load required styles and scripts for the frontend
if ( !function_exists( 'trx_addons_cv_about_load_scripts_front' ) ) {
	add_action("wp_enqueue_scripts", 'trx_addons_cv_about_load_scripts_front');
	function trx_addons_cv_about_load_scripts_front() {
		if (trx_addons_get_value_gp('cv_prn')=='' && trx_addons_is_on(trx_addons_get_option('debug_mode'))) {
			if (trx_addons_is_cv_page()) {
				wp_enqueue_style( 'trx_addons-cv.about', trx_addons_get_file_url('cv/css/cv.about.css'), array(), null );
			}
		}
	}
}

	
// Merge CV specific styles into single stylesheet
if ( !function_exists( 'trx_addons_cv_about_merge_styles' ) ) {
	add_action("trx_addons_filter_merge_styles", 'trx_addons_cv_about_merge_styles');
	function trx_addons_cv_about_merge_styles($list) {
		$list[] = 'cv/css/cv.about.css';
		return $list;
	}
}
?>