ProductAttachments.

Namespace \PlusBusinessSoftware\WooCommerce
Bestand: ProductAttachments.php

				
							/**
		 * Allow ProductAttachments HTML override (showing all attachments)
		 *
		 * @filter plus_all_product_attachments_html
		 * @param string $uitvoer HTML for the product attachments.
		 * @param array $attachments An array of attachments.
		 * @return string HTML for the product attachments.
		 */
		$uitvoer = apply_filters( 'plus_all_product_attachments_html', $uitvoer, $attachments );

				
			
				
							/**
		 * Allow ProductAttachments HTML override (showing a single attachments)
		 *
		 * @filter plus_single_product_attachment_html
		 * @param string $uitvoer HTML for the product attachment.
		 * @param string $attachment_title The title of the attachment to show.
		 * @param int|null $attachment_id The ID of the attachment if it is found. NULL if the attachment is not found.
		 * @param array|null $attachment_data An array of data for the attachment.
		 * @return string HTML for the product attachments.
		 */
		$uitvoer = apply_filters( 'plus_single_product_attachment_html', $uitvoer, $args['attachment_title'], $attachment_id, $attachment_data );

				
			
				
								/**
			 * Allow overriding the attachment title
			 *
			 * @filter plus_single_product_attachment_title
			 * @param string $attachment_title The title of the attachment.
			 * @return string The title to show for the attachment.
			 */
			$attachment_title = apply_filters( 'plus_single_product_attachment_title', $attachment_title );

				
			
				
							/**
		 * Allow overriding the attachment html
		 *
		 * @filter plus_render_single_attachment_html
		 * @param string $uitvoer The HTML for this single attachment.
		 * @param int $attachment_id The attachment ID.
		 * @return string The HTML for this single attachment.
		 */		 
		$uitvoer = apply_filters( 'plus_render_single_attachment_html', $uitvoer, $attachment_id );