*/
use AdvancedAds\Utilities\WordPress;
defined( 'ABSPATH' ) || exit;
if ( ! defined( 'ADVADS_NOTICE_TYPES' ) ) {
define(
'ADVADS_NOTICE_TYPES',
[
'info' => 'info',
'subscribe' => 'subscribe',
'error' => 'plugin_error',
'promo' => 'promo',
]
);
}
$advanced_ads_admin_notices = [
// email tutorial.
'nl_first_steps' => [
'type' => ADVADS_NOTICE_TYPES['subscribe'],
'text' => __( 'Thank you for activating Advanced Ads. Would you like to receive the first steps via email?', 'advanced-ads' ),
'confirm_text' => __( 'Yes, send it', 'advanced-ads' ),
'global' => false,
],
// free add-ons.
'nl_free_addons' => [
'type' => ADVADS_NOTICE_TYPES['subscribe'],
'text' => __( 'Hey, welcome to Advanced Ads! Join our newsletter and snag 2 free add-ons plus our email intro course. It’s the perfect way to get started smoothly!', 'advanced-ads' ),
'confirm_text' => __( 'Subscribe me now', 'advanced-ads' ),
'global' => false,
],
// adsense newsletter group.
'nl_adsense' => [
'type' => ADVADS_NOTICE_TYPES['subscribe'],
'text' => __( 'Learn more about how and how much you can earn with AdSense and Advanced Ads from my dedicated newsletter.', 'advanced-ads' ),
'global' => false,
],
// missing license codes.
'license_invalid' => [
'type' => ADVADS_NOTICE_TYPES['error'],
'text' => __( 'One or more license keys for Advanced Ads add-ons are invalid or missing.', 'advanced-ads' ) . ' '
/* translators: %s is a target URL. */
. sprintf( __( 'Please add valid license keys.', 'advanced-ads' ), admin_url( 'admin.php?page=advanced-ads-app&path=/license' ) ),
],
// please review.
'review' => [
'type' => ADVADS_NOTICE_TYPES['info'],
// 'text' => '
'
'text' => '
' . __( '… ads created using Advanced Ads.', 'advanced-ads' ) . '
' . '' . __( 'Do you find the plugin useful and would like to thank us for updates, fixing bugs and improving your ad setup?', 'advanced-ads' ) . '
' . '' . __( 'If Advanced Ads helps you, you can leave a review.', 'advanced-ads' ) . '
' . '' . ' ' . __( 'Sure, I appreciate your work', 'advanced-ads' ) . '' . ' ' . __( 'Yes, but help me first to solve a problem, please', 'advanced-ads' ) . '' . '