src/WPametu/Assets/Library.php
private function build_src( $src ) {
		if ( ! preg_match( '/^(https?:)?\/\//u', $src ) ) {
			// O.K. This is a library in WPametu!
			$src = trailingslashit( $this->get_root_uri() ) . ltrim( $src, '/' );
		}

		return $src;
	}
private function build_src( $src ) {
		if ( ! preg_match( '/^(https?:)?\/\//u', $src ) ) {
			// O.K. This is a library in WPametu!
			$src = trailingslashit( $this->get_root_uri() ) . ltrim( $src, '/' );
		}

		return $src;
	}
private function build_src ( $ src ) { if ( ! preg_match ( '/^(https?:)?\/\//u' , $ src ) ) { // O.K. This is a library in WPametu! $ src = trailingslashit ( $ this -> get_root_uri ( ) ) . ltrim ( $ src , '/' ) ; } return $ src ; }
Build URL for library

@param string $src

@return string
Build URL for library