# master-addons/3.1.9/inc/classes/notifications/ask-for-rating.php

Master Addons for Elementor – Elementor Addons, Widgets, Mega Menu Builder, Popup Builder, Widget Builder &amp; Template Kits, version 3.1.9. 73 lines.

- Page: https://pluginprobe.com/plugins/master-addons/3.1.9/code/inc/classes/notifications/ask-for-rating.php
- Raw: https://pluginprobe.com/plugins/master-addons/3.1.9/raw/inc/classes/notifications/ask-for-rating.php
- Modified: 2026-06-18T08:41:30+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/master-addons/3.1.9/code/inc/classes/notifications/ask-for-rating.php#L10-L20`.

```php
<?php

namespace MasterAddons\Inc\Classes\Notifications;

defined('ABSPATH') || exit;

use MasterAddons\Inc\Classes\Notifications\Model\Notice;

if (!class_exists('Ask_For_Rating')) {
	/**
	 * Ask For Rating Class
	 *
	 * Jewel Theme <support@jeweltheme.com>
	 */
	class Ask_For_Rating extends Notice
	{

		/**
		 * Notice Content
		 *
		 * @author Jewel Theme <support@jeweltheme.com>
		 */
		public function notice_content()
		{
			printf(
				'<h2 style="margin:0">Enjoying %1$s?</h2><p>%2$s</p>',
				esc_html__('Master Addons', 'master-addons'),
				wp_kses( __('A positive rating will keep us motivated to continue supporting and improving this free plugin, and will help spread its popularity.<br> Your help is greatly appreciated!', 'master-addons'), array( 'br' => array() ) )
			);
		}

		/**
		 * Rate Plugin URL
		 *
		 * @author Jewel Theme <support@jeweltheme.com>
		 */
		public function plugin_rate_url()
		{
			return 'https://wordpress.org/support/plugin/master-addons/reviews/';
		}

		/**
		 * Footer content
		 *
		 * @author Jewel Theme <support@jeweltheme.com>
		 */
		public function footer_content()
		{
?>
			<a class="button button-primary rate-plugin-button" href="<?php echo esc_url($this->plugin_rate_url()); ?>" rel="nofollow" target="_blank">
				<?php echo esc_html__('Rate Now', 'master-addons'); ?>
			</a>
			<a class="button notice-review-btn review-later jltma-notice-dismiss" href="#" rel="nofollow">
				<?php echo esc_html__('Later', 'master-addons'); ?>
			</a>
			<a class="button notice-review-btn review-done jltma-notice-disable" href="#" rel="nofollow">
				<?php echo esc_html__('I already did', 'master-addons'); ?>
			</a>
<?php
		}

		/**
		 * Intervals
		 *
		 * @author Jewel Theme <support@jeweltheme.com>
		 */
		public function intervals()
		{
			return array(7, 11, 15, 15, 10, 20, 25, 30);
		}
	}
}

```
