woocommerce_checkout_shortcode_tag

woocommerce_checkout_shortcode_tag

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

See hook in core

Displaying hooks found in version: woocommerce.8.2.2

apply_filters('woocommerce_checkout_shortcode_tag') is found 3 times:

  • /includes/admin/settings/class-wc-settings-advanced.php line 86
     
    				array(
    					'title'    => __( 'Checkout page', 'woocommerce' ),
    					/* Translators: %s Page contents. */
    					'desc'     => sprintf( __( 'Page contents: [%s]', 'woocommerce' ), apply_filters( 'woocommerce_checkout_shortcode_tag', 'woocommerce_checkout' ) ),
    					'id'       => 'woocommerce_checkout_page_id',
    					'type'     => 'single_select_page_with_search',
    					'default'  => wc_get_page_id( 'checkout' ),
    					'class'    => 'wc-page-search',
    					'css'      => 'min-width:300px;',
    					'args'     => array(
    
  • /includes/class-wc-install.php line 774
    		 * Determines the checkout shortcode tag used on the checkout page.
    		 *
    		 * @since 2.1.0
    		 */
    		$checkout_shortcode = apply_filters( 'woocommerce_checkout_shortcode_tag', 'woocommerce_checkout' );
    
    		/**
    		 * Determines the my account shortcode tag used on the my account page.
    		 *
    		 * @since 2.1.0
    		 */
    
  • /includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php line 1341
    				'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',
    			),
    			_x( 'My account', 'Page setting', 'woocommerce' ) => array(
    				'option'    => 'woocommerce_myaccount_page_id',
    				'shortcode' => '[' . apply_filters( 'woocommerce_my_account_shortcode_tag', 'woocommerce_my_account' ) . ']',
    				'block'     => '',