can_use_premium_code() ? 'free' : 'premium'; ?>

  • $slug) { if ( ! in_array($slug[0], $exclude_widgets) ) { echo '
  • '. esc_html($title) .'
  • '; } } ?>
$data) : $module_slug = $data[0]; $blocks = WPR_Templates_Data::get_available_blocks(); if ( !isset($blocks[$module_slug]) ) { continue; } for ( $i=0; $i < count($blocks[$module_slug]); $i++ ) : $template_slug = array_keys($blocks[$module_slug])[$i]; $template_sub = isset($blocks[$module_slug][$template_slug]['sub']) ? $blocks[$module_slug][$template_slug]['sub'] : ''; $template_title = $title .' '. $template_slug; $preview_type = $blocks[$module_slug][$template_slug]['type']; $preview_url = $blocks[$module_slug][$template_slug]['url']; $template_class = (strpos($template_slug, 'pro') && (!defined('WPR_ADDONS_PRO_VERSION') || !wpr_fs()->can_use_premium_code()) ) || (strpos($template_slug, 'zzz') && (!defined('WPR_ADDONS_PRO_VERSION') || !wpr_fs()->can_use_premium_code()) ) ? ' wpr-tplib-pro-wrap' : ''; if (defined('WPR_ADDONS_PRO_VERSION') && wpr_fs()->can_use_premium_code()) { $template_class .= ' wpr-tplib-pro-active'; } $template_slug_for_image = strpos($template_slug, 'zzz') ? substr($template_slug, 0, -4) : $template_slug; // Add Extra Keywords for Search $data_template_title = $template_title; if ( false !== strpos($title, 'Form Builder') ) { $data_template_title .= ' contact'; } else if ( false !== strpos($title, 'Nav Menu') ) { $data_template_title .= ' header'; } else if ( false !== strpos($title, 'Post Grid') ) { $data_template_title .= ' blog'; } ?>
id) ) { exit; } } }