Skip to content

Commit 8c17bca

Browse files
authored
Merge pull request #32 from ko31/feature/filter_taf_content
Raw HTMLの値をカスタマイズできるフィルターフック追加
2 parents ea74364 + a9b5aa9 commit 8c17bca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

includes/functions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ function taf_render( $position, $before = '', $after = '', $number = 1, array $c
252252
$ad_content = '';
253253
if ( $meta ) {
254254
// Meta fields exist.
255+
$meta = apply_filters( 'taf_content', $meta, $ad );
255256
$ad_content .= $meta;
256257
}
257258
if ( trim( $ad->post_content ) ) {

0 commit comments

Comments
 (0)