Inventory_Presser_Plugin::add_view_details_button()

Outputs a View Details link that takes users to a single vehicle page.

On This Page


Return Return

(void)


Top ↑

Source Source

File: inventory-presser.php

		/**
		 * Outputs a View Details link that takes users to a single vehicle page.
		 *
		 * @return void
		 */
		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',