wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_customize_url › WordPress Function

Desde3.4.0
Obsoleton/a
wp_customize_url ( $stylesheet = '' )
Parâmetros:
  • (string) $stylesheet Optional. Theme to customize. Defaults to active theme. The theme's stylesheet will be urlencoded if necessary.
    Required: No
    Padrão: (empty)
Retorna:
  • (string)
Definido em:
Codex:

Returns a URL to load the Customizer.



Fonte

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