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
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    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
    770
    771
    772
    773
    774
    775
    776
    777
    778
    779
    780
    * 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
    1337
    1338
    1339
    1340
    1341
    1342
    1343
    1344
    1345
    1346
    1347
        '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'     => '',