Last active
April 16, 2024 09:38
-
-
Save marianssen/114351531c2005cdadf3bde11453a1f0 to your computer and use it in GitHub Desktop.
Quick Page/Post Redirect Plugin - Adjust the priority (position) of redirect metabox.
This file contains hidden or 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
/* | |
* 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