public function readme_section_as_h4( $section, $data ) {
		if ( empty( $data['sections'][ $section ] ) || false !== strpos( $data['sections'][ $section ], '<h4>' ) ) {
			return $data;
		}
		$pattern = '~<p>=(.*)=</p>~';
		$replace = '<h4>$1</h4>';

		$data['sections'][ $section ] = preg_replace( $pattern, $replace, $data['sections'][ $section ] );

		return $data;
	}
public function readme_section_as_h4( $section, $data ) {
		if ( empty( $data['sections'][ $section ] ) || false !== strpos( $data['sections'][ $section ], '<h4>' ) ) {
			return $data;
		}
		$pattern = '~<p>=(.*)=</p>~';
		$replace = '<h4>$1</h4>';

		$data['sections'][ $section ] = preg_replace( $pattern, $replace, $data['sections'][ $section ] );

		return $data;
	}
public function readme_section_as_h4 ( $ section , $ data ) { if ( empty ( $ data [ 'sections' ] [ $ section ] ) || false !== strpos ( $ data [ 'sections' ] [ $ section ] , '<h4>' ) ) { return $ data ; } $ pattern = '~<p>=(.*)=</p>~' ; $ replace = '<h4>$1</h4>' ; $ data [ 'sections' ] [ $ section ] = preg_replace ( $ pattern , $ replace , $ data [ 'sections' ] [ $ section ] ) ; return $ data ; }
Converts wp.org readme section items to h4 style.

@param string $section Readme section.
@param array  $data Array of parsed readme data.

@return array $data
Converts wp . org readme section items to h4 style .