WordPress at a glance
function is not described

PO::trim_quotes() public WP 1.0

{} It's a method of the class: PO{}

No Hooks.

Return

String. Null. Nothing.

Usage

$result = PO::trim_quotes( $s );
$s(string) (required)
-

Code of PO::trim_quotes() WP 5.7

<?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;
}