関数 single_post_title()
2014/12/25
関数 single_post_title()
定義ファイル :/blog/wp-includes/general-template.php 2
1 2 3 4 5 6 7 8 9 10 11 12 | function single_post_title($prefix = '', $display = true) { $_post = get_queried_object(); if ( !isset($_post->post_title) ) return; $title = apply_filters( 'single_post_title', $_post->post_title, $_post ); if ( $display ) echo $prefix . $title; else return $prefix . $title; } |