Created
January 11, 2021 16:42
-
-
Save brandwaffle/c0246175bac5c7ee22de9a7eba35ee3a to your computer and use it in GitHub Desktop.
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 | |
add_filter( 'ep_prepare_meta_allowed_protected_keys', 'ep_add_priority_meta', 10, 2 ); | |
function ep_add_priority_meta( $keys, $post ) { | |
$keys[] = '_priority'; | |
return $keys; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment