Method | Description | |
---|---|---|
__construct ( ) | ||
auto_pods ( ) : array | Get all Pods with auto template enable and its settings | |
current_post_type ( ) : string | Fetches the current post type. | |
front ( string $content ) : string | Outputs templates after the content as needed. | |
hook_content ( ) | Add hooks for output | |
load_template ( string $template_name, string $content, Pods $pods, boolean | string $append = true ) : string | Attach Pods Template to $content | |
set_frontier_style_script ( ) | Sets Styles and Scripts from the Frontier template addons. | |
the_pods ( ) : array | Get all post type and taxonomy Pods |
public current_post_type ( ) : string | ||
return | string | current post type. |
public load_template ( string $template_name, string $content, Pods $pods, boolean | string $append = true ) : string | ||
$template_name | string | The name of a Pods Template to load. |
$content | string | Post content |
$pods | Pods | Current Pods object. |
$append | boolean | string | Optional. Whether to append, prepend or replace content. Defaults to true, which appends, if false, content is replaced, if 'prepend' content is prepended. |
return | string | $content with Pods Template appended if template exists |
public set_frontier_style_script ( ) |