Files
CHIEFSOFT\ameye e9e5c0546c first commit
2023-11-30 13:20:54 -05:00

28 lines
1.2 KiB
PHP

<?php
/**
* Enwoo Theme Customizer
*
* @package Enwoo
*/
/*
* 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.', 'enwoo' ), '<strong>Envo Extra</strong>' ),
),
),
/* translators: %s: Theme name */
'recommended_plugins_title' => sprintf( esc_html__( 'Thank you for installing %s.', 'enwoo' ), 'Enwoo' ),
'install_button_label' => esc_html__( 'Install now', 'enwoo' ),
'activate_button_label' => esc_html__( 'Activate', 'enwoo' ),
);
Enwoo_Customizer_Notice::init( apply_filters( 'enwoo_customizer_notice_array', $config_customizer ) );