wpgb_render_template

DescriptionDescription

This function allows to render a registered template (see PHP filter wp_grid_builder/templates) from a template ID.

Arguments Arguments

ArgumentTypeDescription
Template IDstringRegistered template ID

ExampleExample

You can add this function anywhere in your PHP file to output a filterable template. The following example will output the registered template my_template:

PHP
template.php
wpgb_render_template( 'my_template' );