/** * Check the post type supports title * * @return boolean * @access public * @since 0.3 */ public function isTitle() { $is_title = \in_array('title', $this->post_type->getSupports()); return $is_title; }