関数 is_month()
2014/12/11
関数 is_month()
定義ファイル :/blog/wp-includes/query.php 1
1 2 3 4 5 6 7 8 9 10 | function is_month() { global $wp_query; if ( ! isset( $wp_query ) ) { _doing_it_wrong( __FUNCTION__, __( 'Conditional query tags do not work before the query is run. Before then, they always return false.' ), '3.1' ); return false; } return $wp_query->is_month(); } |