mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-16 13:13:33 +09:00
* added UM()->common()->filesystem() class from new UI version;
* prepared to release;
This commit is contained in:
@@ -40,6 +40,18 @@ if ( ! class_exists( 'um\common\Init' ) ) {
|
||||
return UM()->classes['um\common\cpt'];
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 2.8.7
|
||||
*
|
||||
* @return Filesystem
|
||||
*/
|
||||
public function filesystem() {
|
||||
if ( empty( UM()->classes['um\common\filesystem'] ) ) {
|
||||
UM()->classes['um\common\filesystem'] = new Filesystem();
|
||||
}
|
||||
return UM()->classes['um\common\filesystem'];
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 2.6.8
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user