PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / trunk
Yoast SEO – Advanced SEO with real-time guidance and built-in AI vtrunk
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
← All changes | src/integrations/third-party/woocommerce-permalinks.php +4 -0 18.6 → trunk View file →
@@ -40,8 +40,10 @@
40 40 /**
41 41 * Registers the hooks.
42 42 *
43 43 * @codeCoverageIgnore
44 + *
45 + * @return void
44 46 */
45 47 public function register_hooks() {
46 48 \add_filter( 'wpseo_post_types_reset_permalinks', [ $this, 'filter_product_from_post_types' ] );
47 49 \add_action( 'update_option_woocommerce_permalinks', [ $this, 'reset_woocommerce_permalinks' ], 10, 2 );
@@ -64,8 +66,10 @@
64 66 * Resets the indexables for WooCommerce based on the changed permalink fields.
65 67 *
66 68 * @param array $old_value The old value.
67 69 * @param array $new_value The new value.
70 + *
71 + * @return void
68 72 */
69 73 public function reset_woocommerce_permalinks( $old_value, $new_value ) {
70 74 $changed_options = \array_diff( $old_value, $new_value );
71 75