updated plugin GP Premium version 1.12.2

This commit is contained in:
2020-10-20 15:16:06 +00:00
committed by Gitium
parent 7b5257d924
commit dcc1a6ca18
57 changed files with 1566 additions and 1660 deletions

View File

@ -80,10 +80,10 @@ class GeneratePress_Block_Element {
case 'left-sidebar':
$hook = 'generate_before_left_sidebar_content';
break;
}
case 'custom':
$hook = $custom_hook;
break;
if ( 'custom' === $hook && $custom_hook ) {
$hook = $custom_hook;
}
if ( ! $hook ) {