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

Yoast / wordpress-seo / 6987097851

25 Nov 2023 04:49AM UTC coverage: 49.206% (-0.1%) from 49.302%
6987097851

push

github

web-flow
Merge pull request #20878 from Yoast/JRF/ghactions-minor-tweak

GH Actions: update a few links in inline comments

15305 of 31104 relevant lines covered (49.21%)

4.03 hits per line

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

0.0
/src/integrations/third-party/w3-total-cache.php
1
<?php
2

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

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

8
/**
9
 * W3 Total Cache integration.
10
 */
11
class W3_Total_Cache implements Integration_Interface {
12

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

22
        /**
23
         * Initializes the integration.
24
         *
25
         * On successful update/add of the taxonomy meta option, flush the W3TC cache.
26
         *
27
         * @return void
28
         */
29
        public function register_hooks() {
×
30
                \add_action( 'add_option_wpseo_taxonomy_meta', 'w3tc_objectcache_flush' );
×
31
                \add_action( 'update_option_wpseo_taxonomy_meta', 'w3tc_objectcache_flush' );
×
32
        }
33
}
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