芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/www/lupusm.pulsehost.co.uk/wp-content/themes/outgrid/functions.php
'weadown*-****-****-****-*********com' ]; update_option( 'uicore_theme_options_admin', $uicore_settings ); update_option( 'uicore_connect', [ 'url' => get_site_url(), 'token' => '*********' ] ); //Global Constants define('UICORE_THEME_VERSION', '2.0.5'); define('UICORE_THEME_NAME', 'Outgrid'); define('UICORE_FRAMEWORK_VERSION', '6.0.5'); $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' );