File: /var/www/clients/client6/web57/web/wp-content/themes/lancr/lib/customizer-recommend.php
<?php
/**
* Lancr Theme Customizer
*
* @package Lancr
*/
/*
* Notifications in customizer
*/
require get_template_directory() . '/lib/customizer/notice/class-customizer-notice.php'; // phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound
require get_template_directory() . '/lib/customizer/install/class-plugin-install-helper.php'; // phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound
$config_customizer = array(
'recommended_plugins' => array(
'envo-extra' => array(
'recommended' => true,
/* translators: %s: Plugin name string */
'description' => sprintf( esc_html__( 'To take full advantage of all the features this theme has to offer, please install and activate the %s plugin.', 'lancr' ), '<strong>Envo Extra</strong>' ),
),
),
/* translators: %s: Theme name */
'recommended_plugins_title' => sprintf( esc_html__( 'Thank you for installing %s.', 'lancr' ), 'Lancr' ),
'install_button_label' => esc_html__( 'Install now', 'lancr' ),
'activate_button_label' => esc_html__( 'Activate', 'lancr' ),
);
Lancr_Customizer_Notice::init( apply_filters( 'lancr_customizer_notice_array', $config_customizer ) );