__( 'Keep Your Website’s Shine On', 'elementor-pro' ),
'description' => __( '
Your Elementor Pro subscription has expired. Renew it now to regain access to the Pro features that elevate your website.
- Manage and edit every part of your website, including pages, templates, headers, footers, and more.
- Increase engagement and conversion with Elementor’s marketing features including Forms, and Popups.
- Update your website’s content and design using Elementor Pro’s professional widgets and features for any need.
- Keep your website secure and compatible by updating your Elementor Pro website to the latest version.
', 'elementor-pro' ),
'media' => [
'type' => 'image',
'src' => ELEMENTOR_PRO_ASSETS_URL . 'images/announcements/license-expired.png?' . ELEMENTOR_PRO_VERSION,
],
'cta' => [
[
'label' => __( 'Renew Now', 'elementor-pro' ),
'variant' => 'primary',
'target' => '_blank',
'url' => 'https://go.elementor.com/renew-license-editor-expired-modal/',
],
[
'label' => __( 'Learn More', 'elementor-pro' ),
'target' => '_blank',
'url' => 'https://go.elementor.com//learn-more-editor-expired-modal/',
],
],
'triggers' => [
[
'action' => 'isLicenseExpired',
],
],
];
array_unshift( $raw_announcements, $raw_announcement );
return $raw_announcements;
}, 400 );
add_filter( 'elementor/announcements/trigger_object', function( $object_trigger, $trigger ) {
if ( ! empty( $trigger['action'] ) && 'isLicenseExpired' === $trigger['action'] ) {
$object_trigger = new Triggers\IsLicenseExpired();
}
return $object_trigger;
}, 400, 2 );
}
}