woocommerce_my_account_shortcode_tag

woocommerce_my_account_shortcode_tag

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_my_account_shortcode_tag') is found 3 times:

  • /includes/admin/settings/class-wc-settings-advanced.php line 121
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    array(
        'title'    => __( 'My account page', 'woocommerce' ),
        /* Translators: %s Page contents. */
        'desc'     => sprintf( __( 'Page contents: [%s]', 'woocommerce' ), apply_filters( 'woocommerce_my_account_shortcode_tag', 'woocommerce_my_account' ) ),
        'id'       => 'woocommerce_myaccount_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 894
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    * Determines the my account shortcode tag used on the my account page.
     *
     * @since 2.1.0
     */
    $my_account_shortcode = apply_filters( 'woocommerce_my_account_shortcode_tag', 'woocommerce_my_account' );
     
    /**
     * Determines which pages are created during install.
     *
     * @since 2.1.0
     */
  • /includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php line 1534
    1530
    1531
    1532
    1533
    1534
    1535
    1536
    1537
    1538
    1539
            },
        ),
        _x( 'My account', 'Page setting', 'woocommerce' ) => array(
            'option'    => 'woocommerce_myaccount_page_id',
            'shortcode' => '[' . apply_filters( 'woocommerce_my_account_shortcode_tag', 'woocommerce_my_account' ) . ']',
        ),
        _x( 'Terms and conditions', 'Page setting', 'woocommerce' ) => array(
            'option' => 'woocommerce_terms_page_id',
        ),
    );