WP_Customize_Manager::set_return_url( string $return_url )

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


Description Description

URL is validated.


Parameters Parameters

$return_url

(string) (Required) URL for return link.


Top ↑

Source Source

File: wp-includes/class-wp-customize-manager.php

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

Top ↑

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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