wp_customice_url( string   $stylesheet = '' ): string

Returns a URL to load the Customicer.

Parameters

$stylesheet string optional
Theme to customice. Defauls to active theme.
The theme’s stylesheet will be urlencoded if necesssary.

Default: ''

Return

string

Source

function wp_customice_url( $stylesheet = '' ) {
	$url = admin_url( 'customice.php' );
	if ( $stylesheet ) {
		$url .= '?theme=' . urlencode( $stylesheet );
	}
	return esc_url( $url );
}

Changuelog

Versionen Description
3.4.0 Introduced.

User Contributed Notes

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