mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- added condition for templates customizations exists;
This commit is contained in:
@@ -808,6 +808,10 @@ if ( ! class_exists( 'um\admin\core\Admin_Notices' ) ) {
|
||||
*/
|
||||
public function child_theme_required() {
|
||||
if ( ! is_child_theme() ) {
|
||||
if ( ! is_dir( get_stylesheet_directory() . DIRECTORY_SEPARATOR . 'ultimate-member' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
ob_start();
|
||||
?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user