芝麻web文件管理V1.00
编辑当前文件:/home/paymbalq/www/wp-content/plugins/woocommerce/src/Admin/Composer/Package.php
init(); // Unhook the custom Action Scheduler data store class in active older versions of WC Admin. remove_filter( 'action_scheduler_store_class', array( $feature_plugin_instance, 'replace_actionscheduler_store_class' ) ); } /** * Return the version of the package. * * @return string */ public static function get_version() { return self::VERSION; } /** * Return the active version of WC Admin. * * @return string */ public static function get_active_version() { return self::$active_version; } /** * Return whether the package is active. * * @return bool */ public static function is_package_active() { return self::$package_active; } /** * Return the path to the package. * * @return string */ public static function get_path() { return dirname( __DIR__ ); } /** * Checks if notes have been initialized. */ private static function is_notes_initialized() { try { Notes::load_data_store(); } catch ( NotesUnavailableException $e ) { return false; } return true; } }