woocommerce_template_path

woocommerce_template_path

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_template_path') is found 1 times:

  • /includes/class-woocommerce.php line 970
    966
    967
    968
    969
    970
    971
    972
    973
    974
    975
    976
    public function template_path() {
        /**
         * Filter to adjust the base templates path.
         */
        return apply_filters( 'woocommerce_template_path', 'woocommerce/' ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingSinceComment
    }
     
    /**
     * Get Ajax URL.
     *
     * @return string