示例#1
0
 /**
  * Is the Front Page configured to display a $post_type='page'?
  *
  * @return bool
  */
 function is_page_on_front()
 {
     return $front_page_id = $this->front_page_id() && WPLib::is_page($front_page_id);
 }