woocommerce_available_download_count

woocommerce_available_download_count

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_available_download_count') is found 1 times:

  • /templates/myaccount/my-downloads.php line 39
    				do_action( 'woocommerce_available_download_start', $download );
    
    				if ( is_numeric( $download['downloads_remaining'] ) ) {
    					/* translators: %s product name */
    					echo apply_filters( 'woocommerce_available_download_count', '<span class="woocommerce-Count count">' . sprintf( _n( '%s download remaining', '%s downloads remaining', $download['downloads_remaining'], 'woocommerce' ), $download['downloads_remaining'] ) . '</span> ', $download ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    				}
    
    				echo apply_filters( 'woocommerce_available_download_link', '<a href="' . esc_url( $download&#91;'download_url'&#93; ) . '">' . $download['download_name'] . '</a>', $download ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    
    				do_action( 'woocommerce_available_download_end', $download );
    				?>