PluginProbe ʕ •ᴥ•ʔ
Reviews Feed – Add Testimonials and Customer Reviews From Google Reviews, Yelp, TripAdvisor, and More / 2.10.0
Reviews Feed – Add Testimonials and Customer Reviews From Google Reviews, Yelp, TripAdvisor, and More v2.10.0
2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.7 2.6.8 2.6.5 2.6.4 2.6.3 2.6.2 2.6.0 2.5.5 2.5.4 2.5.3 2.5.2 trunk 1.0 1.0.1 1.0.2 1.0.3 1.1 1.1.1 1.1.2 1.2.0 2.0 2.1.0 2.1.1 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.5.0 2.5.1
reviews-feed / class / Common / Admin / Blocks / SB_Recommended_Blocks.php
reviews-feed / class / Common / Admin / Blocks Last commit date
SBR_Modern_Feed_Block.php 3 weeks ago SB_Recommended_Blocks.php 3 weeks ago SB_Reviews_Blocks.php 3 weeks ago
SB_Recommended_Blocks.php
48 lines
1 <?php
2
3 /**
4 * SB_Recommended_Blocks
5 *
6 * @since 2.1
7 */
8
9 namespace SmashBalloon\Reviews\Common\Admin\Blocks;
10
11 use Smashballoon\Stubs\Services\ServiceProvider;
12 use SmashBalloon\Reviews\Vendor\Smashballoon\Framework\Packages\Blocks\RecommendedBlocks;
13
14 // Exit if accessed directly
15 if (!defined('ABSPATH')) {
16 exit;
17 }
18
19 class SB_Recommended_Blocks extends ServiceProvider
20 {
21 /**
22 * Register Reviews Block
23 *
24 * @return void
25 */
26 public function register()
27 {
28 add_action(
29 'init',
30 [
31 $this,
32 'register_blocks'
33 ]
34 );
35 }
36
37 /**
38 * Register Recommended Blocks
39 *
40 * @return void
41 */
42 public function register_blocks()
43 {
44 $recommended_blocks = new RecommendedBlocks();
45 $recommended_blocks->setup();
46 }
47 }
48