• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Yoast / wordpress-seo / a4eb71e9ad0835c97de3bf63ce6f3cc3c1d4caeb

28 Apr 2026 12:13PM UTC coverage: 42.979%. First build
a4eb71e9ad0835c97de3bf63ce6f3cc3c1d4caeb

Pull #23205

github

web-flow
Merge 37cbe6119 into 777600d66
Pull Request #23205: Feature/content planner

3041 of 10419 branches covered (29.19%)

Branch coverage included in aggregate %.

632 of 1109 new or added lines in 74 files covered. (56.99%)

25420 of 55801 relevant lines covered (45.55%)

5.37 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/integrations/blocks/content-planner-block.php
1
<?php
2

3
namespace Yoast\WP\SEO\Integrations\Blocks;
4

5
use Yoast\WP\SEO\Conditionals\AI_Conditional;
6
use Yoast\WP\SEO\Integrations\Integration_Interface;
7

8
/**
9
 * Registers the Content Planner Banner block.
10
 */
11
class Content_Planner_Block implements Integration_Interface {
12

13
        /**
14
         * Returns the conditionals based in which this loadable should be active.
15
         *
16
         * @return array<string> The conditionals.
17
         */
NEW
18
        public static function get_conditionals() {
×
NEW
19
                return [ AI_Conditional::class ];
×
20
        }
21

22
        /**
23
         * Registers hooks for the Content Planner Banner block.
24
         *
25
         * @return void
26
         */
NEW
27
        public function register_hooks() {
×
NEW
28
                \add_action( 'init', [ $this, 'register_block' ], 11 );
×
29
        }
30

31
        /**
32
         * Registers the content planner banner block type.
33
         *
34
         * @return void
35
         */
NEW
36
        public function register_block() {
×
NEW
37
                \register_block_type( \WPSEO_PATH . 'blocks/ai-content-planner/block.json' );
×
38
        }
39
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc