PluginProbe ʕ •ᴥ•ʔ
Rich Showcase for Google Reviews / 4.2
Rich Showcase for Google Reviews v4.2
6.9.7 6.9.6 trunk 1.4 1.42 1.43 1.44 1.45 1.46 1.47 1.48 1.49 1.5 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.7 1.6.8 1.6.9 1.7 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 1.7.7 1.7.8 1.7.9 1.8 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9 1.9.1 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.3 2.4 2.4.1 2.4.2 2.5 2.5.1 2.6 2.6.1 2.6.2 2.7 2.8 2.9 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.6.1 3.7 3.8 3.9 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.8.1 4.8.2 5.0 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.7.1 5.8 5.9 5.9.1 5.9.2 5.9.3 5.9.7 6.0 6.1 6.2 6.3 6.4 6.4.1 6.5 6.6 6.6.1 6.6.2 6.7 6.8 6.8.1 6.8.2 6.9 6.9.1 6.9.2 6.9.3 6.9.4 6.9.4.1 6.9.4.2 6.9.4.3 6.9.4.4 6.9.5
widget-google-reviews / grw.php
widget-google-reviews Last commit date
assets 1 year ago build 2 years ago includes 1 year ago languages 2 years ago autoloader.php 4 years ago block.json 2 years ago grw.php 1 year ago index.php 4 years ago readme.txt 1 year ago
grw.php
74 lines
1 <?php
2 /*
3 Plugin Name: Plugin for Google Reviews
4 Plugin URI: https://richplugins.com/business-reviews-bundle-wordpress-plugin
5 Description: Instantly Google Places Reviews on your website to increase user confidence and SEO.
6 Version: 4.2
7 Author: RichPlugins <support@richplugins.com>
8 Author URI: https://richplugins.com
9 Text Domain: widget-google-reviews
10 Domain Path: /languages
11 */
12
13 namespace WP_Rplg_Google_Reviews;
14
15 if (!defined('ABSPATH')) {
16 exit;
17 }
18
19 require(ABSPATH . 'wp-includes/version.php');
20
21 define('GRW_VERSION' , '4.2');
22 define('GRW_PLUGIN_FILE' , __FILE__);
23 define('GRW_PLUGIN_PATH' , plugin_dir_path(GRW_PLUGIN_FILE));
24 define('GRW_PLUGIN_URL' , plugins_url(basename(GRW_PLUGIN_PATH), basename(__FILE__)));
25 define('GRW_ASSETS_URL' , GRW_PLUGIN_URL . '/assets/');
26
27 define('GRW_GOOGLE_BIZ' , GRW_ASSETS_URL . 'img/gmblogo.svg');
28 define('GRW_GOOGLE_PLACE_API' , 'https://maps.googleapis.com/maps/api/place/');
29
30 require_once __DIR__ . '/autoloader.php';
31
32 /*-------------------------------- Links --------------------------------*/
33 function grw_plugin_action_links($links, $file) {
34 $plugin_file = basename(__FILE__);
35 if (basename($file) == $plugin_file) {
36 $settings_link = '<a href="' . admin_url('admin.php?page=grw-builder') . '">' .
37 '<span style="background-color:#fb8e28;color:#fff;font-weight:bold;padding:0px 8px 2px">' .
38 'Connect Reviews' .
39 '</span>' .
40 '</a>';
41 array_unshift($links, $settings_link);
42 }
43 return $links;
44 }
45 add_filter('plugin_action_links', 'WP_Rplg_Google_Reviews\\grw_plugin_action_links', 10, 2);
46
47 /*-------------------------------- Row Meta --------------------------------*/
48 function grw_plugin_row_meta($input, $file) {
49 if ($file != plugin_basename( __FILE__ )) {
50 return $input;
51 }
52
53 $links = array(
54 //'<a href="' . admin_url('admin.php?page=grw-support') . '" target="_blank">' . __('View Documentation', 'widget-google-reviews') . '</a>',
55
56 '<a href="' . esc_url('https://richplugins.com/business-reviews-bundle-wordpress-plugin?promo=GRGROW23') . '" target="_blank">' . __('Upgrade to Business', 'widget-google-reviews') . ' &raquo;</a>',
57
58 '<a href="' . esc_url('https://wordpress.org/support/plugin/widget-google-reviews/reviews/#new-post') . '" target="_blank">' . __('Rate plugin', 'widget-google-reviews') . ' <span style="color:#ffb900;font-size:1.5em;position:relative;top:0.1em;">�
59
60
61
62
63 </span></a>',
64 );
65 $input = array_merge($input, $links);
66 return $input;
67 }
68 add_filter('plugin_row_meta', 'WP_Rplg_Google_Reviews\\grw_plugin_row_meta', 10, 2);
69
70 /*-------------------------------- Plugin init --------------------------------*/
71 $grw = new Includes\Plugin();
72 $grw->register();
73
74 ?>