![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/intellicart.co/wp-content/themes/framey/ |
<?php /** * uicore functions and definitions * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package uicore-theme */ defined('ABSPATH') || exit; //Global Constants define('UICORE_THEME_VERSION', '4.0.1'); define('UICORE_THEME_NAME', 'Framey'); define('UICORE_FRAMEWORK_VERSION', '6.0.1'); $uicore_includes = array( '/setup.php', '/default.php', '/template-tags.php', '/plugin-activation.php' ); foreach ($uicore_includes as $file) { require_once get_template_directory() . '/inc' . $file; } //Required if ( ! isset( $content_width ) ) { $content_width = 1000; } if ( is_singular() && !class_exists('\UiCore\Core')) { wp_enqueue_script( "comment-reply" ); } //disable element pack self update function uicore_disable_plugin_updates( $value ) { $pluginsToDisable = [ 'bdthemes-element-pack/bdthemes-element-pack.php', 'metform-pro/metform-pro.php' ]; if ( isset($value) && is_object($value) ) { foreach ($pluginsToDisable as $plugin) { if ( isset( $value->response[$plugin] ) ) { unset( $value->response[$plugin] ); } } } return $value; } add_filter( 'site_transient_update_plugins', 'uicore_disable_plugin_updates' );