astra_post_tags( string $filter_name, string $style_type, bool $post_meta )
Function to get Tags applied of Post
Description
Parameters
- $filter_name
-
(string) (Required) Filter name.
- $style_type
-
(string) (Required) Style type slug.
- $post_meta
-
(bool) (Required) Post meta.
Return
(mixed) Markup.
Source
File: inc/blog/blog-config.php
function astra_post_tags( $output_filter = '' ) {
$output = '';
/* translators: used between list items, there is a space after the comma */
$tags_list = get_the_tag_list( '', __( ', ', 'astra' ) );
if ( $tags_list ) {
$output .= '<span class="tags-links">' . $tags_list . '</span>';
}
return apply_filters( 'astra_post_tags', $output, $output_filter );
}
Expand full source code Collapse full source code View on Trac