sfwd_cpt_template

apply_filters( 'sfwd_cpt_template',  string $template )

Filters custom post type shortcode content.


Description #


Parameters #

$template

(string) Shortcode template content.


Source #

File: includes/class-ld-cpt.php


Examples #

 <?php
/**
 * Example usage for sfwd_cpt_template filter.
 */
add_filter(
	'sfwd_cpt_template',
	function( $template ) {
		// May add any custom logic using $template.

		// Always return $template.
		return $template;
	}
);