is_from_partner( $product ) ) { return false; } if ( ! $product->is_wordpress_available() ) { return false; } return apply_filters( $product->get_slug() . '_sdk_should_review', true ); } /** * Add notification to queue. * * @param array $all_notifications Previous notification. * * @return array All notifications. */ public function add_notification( $all_notifications ) { $developers = [ 'Bogdan', 'Marius', 'Hardeep', 'Rodica', 'Stefan', 'Uriahs', 'Madalin', 'Cristi', 'Silviu', 'Andrei', ]; $link = 'https://wordpress.org/support/' . $this->product->get_type() . '/' . $this->product->get_slug() . '/reviews/#wporg-footer'; $message = apply_filters( $this->product->get_key() . '_feedback_review_message', '
Hey, it\'s great to see you have {product} active for a few days now. How is everything going? If you can spare a few moments to rate it on WordPress.org it would help us a lot (and boost my motivation). Cheers!
~ {developer}, developer of {product}