mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Fix members grid override
This commit is contained in:
@@ -215,11 +215,10 @@
|
||||
$file = um_path . 'templates/members-grid.php';
|
||||
$theme_file = get_stylesheet_directory() . '/ultimate-member/templates/members-grid.php';
|
||||
|
||||
if ( file_exists( $theme_file ) )
|
||||
if ( file_exists( $theme_file ) ){
|
||||
$file = $theme_file;
|
||||
|
||||
if ( um_members('users_per_page') ) {
|
||||
include_once $file;
|
||||
}
|
||||
|
||||
include_once $file;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user