wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_customize_url › WordPress Function

Da3.4.0
Deprecaton/a
wp_customize_url ( $stylesheet = '' )
Parametri:
  • (string) $stylesheet Optional. Theme to customize. Defaults to active theme. The theme's stylesheet will be urlencoded if necessary.
    Richiesto: No
    Default: (vuoto)
Ritorna:
  • (string)
Definito a:
Codex:

Returns a URL to load the Customizer.



Sorgenti

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