php怎么在 return'' 里面调用这个输出<?php echo _get_post_views(); ?>我用的是 wordpress
if ( !function_exists( 'vlog_post_format_icon' ) ):
function vlog_post_format_icon() {
$format = vlog_get_post_format();
$icons = array(
'video' => __vlog( 'label_video' ),
'audio' => __vlog( 'label_audio' ),
'image' => __vlog( 'label_image' ),
'gallery' => __vlog( 'label_gallery' )
);
//Allow plugins or child themes to modify icons
$icons = apply_filters( 'vlog_modify_post_format_icons', $icons );
if ( $format && array_key_exists( $format, $icons ) ) {
return '怎么在这里调用<?php echo _get_post_views(); ?>';
}
return '';
}
endif;
<?php echo _get_post_views(); ?>该怎么写?
- 2 回答
- 0 关注
- 416 浏览
添加回答
举报
0/150
提交
取消