WP_REST_Themes_Controller::_sanitize_stylesheet_callback( string $stylesheet ): string

In this article

Sanitize the stylesheet to decode endpoint.

Parameters

$stylesheetstringrequired
The stylesheet name.

Return

string Sanitized stylesheet.

Source

public function _sanitize_stylesheet_callback( $stylesheet ) {
	return urldecode( $stylesheet );
}

Changelog

VersionDescription
5.9.0Introduced.

User Contributed Notes

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