- added condition for templates customizations exists;

This commit is contained in:
Mykyta Synelnikov
2023-08-17 12:13:19 +03:00
parent cf6836330f
commit 8bbcc4479a
@@ -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();
?>