PO::trim_quotes

Advertisement

Syntax Syntax

PO::trim_quotes( string $s )

Parameters Parameters

$s

(string) (Required)

Return Return

(string)

Source Source

File: wp-includes/pomo/po.php

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

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.