Created
July 26, 2022 20:44
-
-
Save maheshwaghmare/5db797bbbc26808c1854c3dd3707f9e3 to your computer and use it in GitHub Desktop.
After Copy Redirect to Page (Copy Anything to Clipboard) - See https://wp.me/P4Ams0-aAq
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ( ! function_exists( 'prefix_copy_the_code_localize_vars' ) ) : | |
/** | |
* Localize vars. | |
* | |
* @return array | |
*/ | |
function prefix_copy_the_code_localize_vars( $args = array() ) { | |
// Redirect to page url. | |
$args['redirect_url'] = 'https://maheshwaghmare.com/'; | |
return $args; | |
} | |
add_filter( 'copy_the_code_localize_vars', 'prefix_copy_the_code_localize_vars' ); | |
endif; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment