GC_Customize_Manager::set_return_url()

最后更新于:2021-11-27 02:24:04

GC_Customize_Manager::set_return_url( string$return_url)

Set URL to link the user to when closing the Customizer.

参数

$return_url

(string) (Required) URL for return link.

源文件

文件: gc-includes/class-gc-customize-manager.php

	public function set_return_url( $return_url ) {
		$return_url       = esc_url_raw( $return_url );
		$return_url       = remove_query_arg( gc_removable_query_args(), $return_url );
		$return_url       = gc_validate_redirect( $return_url );
		$this->return_url = $return_url;
	}