Inventory_Presser_Template_Provider::replace_content_with_shortcode_single( string $content )


Description Description

Filter callback. Returns the output of the [invp-single-vehicle] shortcode regardless of what is passed in.

Top ↑

Parameters Parameters


(string) (Required) The post content as provided by the the_content filter

Top ↑

Return Return

(string) The output of the [invp-single-vehicle] shortcode

Top ↑

Source Source

File: includes/class-template-provider.php

		function replace_content_with_shortcode_single( $content )
			// Remove the filter we're in to avoid nested calls.
			remove_filter( 'the_content', array( $this, 'replace_content_with_shortcode_single' ) );
			return do_shortcode( '[invp-single-vehicle]' );