woocommerce_cart_shortcode_tag

woocommerce_cart_shortcode_tag

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

See hook in core

Displaying hooks found in version: woocommerce.8.2.2

apply_filters('woocommerce_cart_shortcode_tag') is found 3 times:

  • /includes/admin/settings/class-wc-settings-advanced.php line 66
     
    				array(
    					'title'    => __( 'Cart page', 'woocommerce' ),
    					/* Translators: %s Page contents. */
    					'desc'     => sprintf( __( 'Page contents: [%s]', 'woocommerce' ), apply_filters( 'woocommerce_cart_shortcode_tag', 'woocommerce_cart' ) ),
    					'id'       => 'woocommerce_cart_page_id',
    					'type'     => 'single_select_page_with_search',
    					'default'  => '',
    					'class'    => 'wc-page-search',
    					'css'      => 'min-width:300px;',
    					'args'     => array(
    
  • /includes/class-wc-install.php line 767
    		 * Determines the cart shortcode tag used for the cart page.
    		 *
    		 * @since 2.1.0
    		 */
    		$cart_shortcode = apply_filters( 'woocommerce_cart_shortcode_tag', 'woocommerce_cart' );
    
    		/**
    		 * Determines the checkout shortcode tag used on the checkout page.
    		 *
    		 * @since 2.1.0
    		 */
    
  • /includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php line 1336
    				'block'     => '',
    			),
    			_x( 'Cart', 'Page setting', 'woocommerce' ) => array(
    				'option'    => 'woocommerce_cart_page_id',
    				'shortcode' => '[' . apply_filters( 'woocommerce_cart_shortcode_tag', 'woocommerce_cart' ) . ']',
    				'block'     => 'woocommerce/cart',
    			),
    			_x( 'Checkout', 'Page setting', 'woocommerce' ) => array(
    				'option'    => 'woocommerce_checkout_page_id',
    				'shortcode' => '[' . apply_filters( 'woocommerce_checkout_shortcode_tag', 'woocommerce_checkout' ) . ']',
    				'block'     => 'woocommerce/checkout',