crp_custom_template
Filter to create a custom HTML output
Type: filter
Since: 2.2.3
Source: includes/frontend/class-display.php line 158
Parameters
| Type | Name | Description |
|---|---|---|
mixed | $template | Default return value |
array | $results | Array of IDs of related posts |
array | $args | Array of settings |
Usage
add_filter( 'crp_custom_template', function($template, $results, $args) {
// ...
return $template;
} );