woocommerce_before_account_downloads

woocommerce_before_account_downloads

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_before_account_downloads') is found 1 times:

  • /templates/myaccount/downloads.php line 27
     
    $downloads     = WC()->customer->get_downloadable_products();
    $has_downloads = (bool) $downloads;
    
    do_action( 'woocommerce_before_account_downloads', $has_downloads ); ?>
    
    <?php if ( $has_downloads ) : ?>
    
    	<?php do_action( 'woocommerce_before_available_downloads' ); ?>
    
    	<?php do_action( 'woocommerce_available_downloads', $downloads ); ?>