Skip to content

Instantly share code, notes, and snippets.

@marianssen
Last active April 16, 2024 09:38
Show Gist options
  • Save marianssen/114351531c2005cdadf3bde11453a1f0 to your computer and use it in GitHub Desktop.
Save marianssen/114351531c2005cdadf3bde11453a1f0 to your computer and use it in GitHub Desktop.
Quick Page/Post Redirect Plugin - Adjust the priority (position) of redirect metabox.
/*
* Controls the position of the redirect meta box created by the Quick Page/Post Redirect Plugin
* Plugin URL https://en-gb.wordpress.org/plugins/quick-pagepost-redirect-plugin/
*
* Add to functions.php inside WP child theme
*/
function change_individual_redirect_metabox_priority($priority) {
// Set the priority to 'high', 'core', 'default' or 'low'
return 'low';
}
add_filter('appip_metabox_priority_filter', 'change_individual_redirect_metabox_priority');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment