Inventory_Presser_Plugin::add_view_details_button()


Source Source

File: inventory-presser.php

	public function add_view_details_button()
	{
		if( ! in_the_loop() )
		{
			return;
		}

		$css_classes = apply_filters( 'invp_css_classes_view_details_button', array(
			'wp-block-button__link',
			'button',
		) );
		?><a class="<?php echo esc_attr( implode( ' ', $css_classes ) ); ?>" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php _e( 'View Details', 'inventory-presser' ); ?></a><?php
	}