diff --git a/inc/nux/class-storefront-nux-starter-content.php b/inc/nux/class-storefront-nux-starter-content.php index 4e30f7163..c3d0359d7 100644 --- a/inc/nux/class-storefront-nux-starter-content.php +++ b/inc/nux/class-storefront-nux-starter-content.php @@ -233,7 +233,9 @@ public function starter_content() { $starter_content['posts'] = array_merge( $starter_content['posts'], $starter_content_wc_pages ); } - // Register support for starter content. + /** + * Register support for starter content. + */ add_theme_support( 'starter-content', apply_filters( 'storefront_starter_content', $starter_content ) ); } diff --git a/inc/woocommerce/storefront-woocommerce-template-functions.php b/inc/woocommerce/storefront-woocommerce-template-functions.php index ede9a6a80..8630aa2c6 100644 --- a/inc/woocommerce/storefront-woocommerce-template-functions.php +++ b/inc/woocommerce/storefront-woocommerce-template-functions.php @@ -758,7 +758,9 @@ function storefront_single_product_pagination() { return; } - // Show only products in the same category? + /** + * Show only products in the same category? + */ $in_same_term = apply_filters( 'storefront_single_product_pagination_same_category', true ); $excluded_terms = apply_filters( 'storefront_single_product_pagination_excluded_terms', '' ); $taxonomy = apply_filters( 'storefront_single_product_pagination_taxonomy', 'product_cat' ); diff --git a/phpcs.xml b/phpcs.xml index 2ccd3395d..89214bc56 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -57,4 +57,12 @@ src/* + + + * + + + + * +