Skip to content

Instantly share code, notes, and snippets.

@cartpauj
Created August 9, 2022 20:25
Show Gist options
  • Save cartpauj/eb01471e20e817795d9d4325e0ead827 to your computer and use it in GitHub Desktop.
Save cartpauj/eb01471e20e817795d9d4325e0ead827 to your computer and use it in GitHub Desktop.
Show a delay message when using Pretty Links Meta Refresh or Javascript redirect types with a delay
<?php
function plp_delay_message_code() {
?>
<p>Please wait... You will be redirected soon.</p>
<?php
}
add_action('prli-redirect-header', 'plp_delay_message_code');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment