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.5.1

apply_filters('woocommerce_my_account_shortcode_tag') is found 3 times:

  • /includes/admin/settings/class-wc-settings-advanced.php line 114
     
    				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 887
    		 * 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 1460
    				'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'     => '',
    			),
    			_x( 'Terms and conditions', 'Page setting', 'woocommerce' ) => array(
    				'option'    => 'woocommerce_terms_page_id',
    				'shortcode' => '',
    				'block'     => '',