public static function current() {

		$title = '';

		if ( is_front_page() ) {
			$title = static::frontPage();

		} elseif ( is_home() || is_singular() ) {
			$title = static::post();

		} elseif ( is_archive() ) {
			$title = static::archive();

		} elseif ( is_search() ) {
			$title = static::search();

		} elseif ( is_404() ) {
			$title = static::error();
		}

		return $title;
	}
public static function current() {

		$title = '';

		if ( is_front_page() ) {
			$title = static::frontPage();

		} elseif ( is_home() || is_singular() ) {
			$title = static::post();

		} elseif ( is_archive() ) {
			$title = static::archive();

		} elseif ( is_search() ) {
			$title = static::search();

		} elseif ( is_404() ) {
			$title = static::error();
		}

		return $title;
	}
public static function current ( ) { $ title = '' ; if ( is_front_page ( ) ) { $ title = static :: frontPage ( ) ; } elseif ( is_home ( ) || is_singular ( ) ) { $ title = static :: post ( ) ; } elseif ( is_archive ( ) ) { $ title = static :: archive ( ) ; } elseif ( is_search ( ) ) { $ title = static :: search ( ) ; } elseif ( is_404 ( ) ) { $ title = static :: error ( ) ; } return $ title ; }
Retrieve the current page title.

@since  5.0.0
@access public
@return string
Retrieve the current page title .