PO::trim_quotes( string $s )


Description Description


Parameters Parameters

$s

(string) (Required)


Top ↑

Return Return

(sring)


Top ↑

Source Source

File: wp-includes/pomo/po.php

		public static function trim_quotes( $s ) {
			if ( substr( $s, 0, 1 ) == '"' ) {
				$s = substr( $s, 1 );
			}
			if ( substr( $s, -1, 1 ) == '"' ) {
				$s = substr( $s, 0, -1 );
			}
			return $s;
		}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.