[wp-trac] [WordPress Trac] #34966: Add new filter for return URL in Customizer
WordPress Trac
noreply at wordpress.org
Thu Dec 10 09:16:44 UTC 2015
#34966: Add new filter for return URL in Customizer
-------------------------+-----------------------------
Reporter: rabmalin | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Customize | Version: 4.4
Severity: normal | Resolution: maybelater
Keywords: | Focuses: administration
-------------------------+-----------------------------
Changes (by westonruter):
* status: new => closed
* resolution: => maybelater
* milestone: Awaiting Review =>
Comment:
@rabmalin You can accomplish this via:
{{{#!php
<?php
add_action( 'customize_controls_init', function() {
global $wp_customize;
$my_custom_return_url = '...';
$wp_customize->set_return_url( $my_custom_return_url );
} );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34966#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list