public function get_static_view_template_name() {
		// @codingStandardsIgnoreStart
		// @todo サニタイズしているのに Detected usage of a non-validated input variable: $_SERVER がでる。バグ？
		$request_uri = sanitize_text_field( wp_unslash( $_SERVER['REQUEST_URI'] ) );
		// @codingStandardsIgnoreEnd
		$request_uri = $this->_get_relative_path( $request_uri );
		$path        = $this->_remove_http_query( $request_uri );
		$path        = $this->_remove_paged_slug( $path );
		$path        = trim( $path, '/' );

		if ( ! $path ) {
			return Helper\locate_template( (array) Helper\config( 'static' ), 'index' );
		}

		$template_name = Helper\locate_template( (array) Helper\config( 'static' ), $path );
		if ( empty( $template_name ) ) {
			$template_name = Helper\locate_template( (array) Helper\config( 'static' ), $path . '/index' );
		}

		return $template_name;
	}
public function get_static_view_template_name() {
		// @codingStandardsIgnoreStart
		// @todo サニタイズしているのに Detected usage of a non-validated input variable: $_SERVER がでる。バグ？
		$request_uri = sanitize_text_field( wp_unslash( $_SERVER['REQUEST_URI'] ) );
		// @codingStandardsIgnoreEnd
		$request_uri = $this->_get_relative_path( $request_uri );
		$path        = $this->_remove_http_query( $request_uri );
		$path        = $this->_remove_paged_slug( $path );
		$path        = trim( $path, '/' );

		if ( ! $path ) {
			return Helper\locate_template( (array) Helper\config( 'static' ), 'index' );
		}

		$template_name = Helper\locate_template( (array) Helper\config( 'static' ), $path );
		if ( empty( $template_name ) ) {
			$template_name = Helper\locate_template( (array) Helper\config( 'static' ), $path . '/index' );
		}

		return $template_name;
	}
public function get_static_view_template_name ( ) { // @codingStandardsIgnoreStart // @todo サニタイズしているのに Detected usage of a non-validated input variable: $_SERVER がでる。バグ？ $ request_uri = sanitize_text_field ( wp_unslash ( $ _SERVER [ 'REQUEST_URI' ] ) ) ; // @codingStandardsIgnoreEnd $ request_uri = $ this -> _get_relative_path ( $ request_uri ) ; $ path = $ this -> _remove_http_query ( $ request_uri ) ; $ path = $ this -> _remove_paged_slug ( $ path ) ; $ path = trim ( $ path , '/' ) ; if ( ! $ path ) { return Helper \ locate_template ( ( array ) Helper \ config ( 'static' ) , 'index' ) ; } $ template_name = Helper \ locate_template ( ( array ) Helper \ config ( 'static' ) , $ path ) ; if ( empty ( $ template_name ) ) { $ template_name = Helper \ locate_template ( ( array ) Helper \ config ( 'static' ) , $ path . '/index' ) ; } return $ template_name ; }
Returns static view template name

@return string|null
Returns static view template name